diff options
Diffstat (limited to 'src/tsar.c')
| -rw-r--r-- | src/tsar.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -129,6 +129,8 @@ void draw_comp_set(float pos_ratio, comp_t **set, int size) { } int x = (bar_width - width) * pos_ratio; + x += padding * 2*(0.5 - pos_ratio); // Magic formula lol + int y = (bar_height - font->height) / 2; for (int i = 0; i < size; i++) { comp_t *comp = set[i]; |
