Browse Source

actually fix this bug

master
Pandora 7 years ago
parent
commit
c3b893ebc9
No known key found for this signature in database GPG Key ID: 55DB77C2A03E1EF5
  1. 2
      unlock_indicator.c

2
unlock_indicator.c

@ -924,7 +924,7 @@ xcb_pixmap_t draw_image(uint32_t *resolution) {
break; break;
} }
if (cur_bar_height >= 0 && ((bar_bidirectional && ((cur_bar_height * 2) < bar_base_height)) if (cur_bar_height != 0 && ((bar_bidirectional && ((cur_bar_height * 2) < bar_base_height))
|| (!bar_bidirectional && (cur_bar_height < bar_base_height)))) { || (!bar_bidirectional && (cur_bar_height < bar_base_height)))) {
cairo_rectangle(bar_ctx, back_x, back_y, back_width, back_height); cairo_rectangle(bar_ctx, back_x, back_y, back_width, back_height);
cairo_fill(bar_ctx); cairo_fill(bar_ctx);

Loading…
Cancel
Save