diff options
| author | Federico Angelilli <code@fedang.net> | 2024-11-22 12:38:05 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2024-11-22 12:38:05 +0100 |
| commit | 10d61d0a765ff3a55aab32e4d28e5b7298d9e89c (patch) | |
| tree | 986e7ac9ad307819971beb0717338244af4416f4 /src/util.c | |
| parent | 713084a48649a7aa0c40ea6d6163f0def3dcd82c (diff) | |
Update slider knob
Diffstat (limited to 'src/util.c')
| -rw-r--r-- | src/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -217,9 +217,9 @@ bool iszero(const void *ptr, size_t size) void render_triangle(cairo_t *cr, int x, int y, int w, int h) { cairo_new_sub_path(cr); - cairo_line_to(cr, x, y); cairo_line_to(cr, x, y + h); - cairo_line_to(cr, x + w, y + h / 2); + cairo_line_to(cr, x + w, y + h); + cairo_line_to(cr, x + w / 2, y); cairo_close_path(cr); } |
