1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2025-03-10 17:06:37 -04:00

[ListView] Fix right-to-left scrolling in bar-view.

Issue: #1028
This commit is contained in:
Dave Davenport 2019-11-14 13:01:49 +01:00
parent eb5c4bfdcc
commit 37121bfbe2

View file

@ -334,7 +334,7 @@ static void barview_draw ( widget *wid, cairo_t *draw )
twidth = width;
}
right_offset -= twidth;
widget_move ( WIDGET(lv->boxes[i].box), left_offset, top_offset);
widget_move ( WIDGET(lv->boxes[i].box), right_offset, top_offset);
widget_resize ( WIDGET (lv->boxes[i].box), twidth, lv->element_height);
widget_draw ( WIDGET ( lv->boxes[i].box ), draw );