[Fix] Image arrays going out of sync.
This commit is contained in:
parent
ca292cf791
commit
3877884730
@ -1667,6 +1667,8 @@ static void toolkit_listScroll(Widget* wgt, int direction) {
|
||||
|
||||
/* Maximum. */
|
||||
hmax = h * (yelem - (int)(wgt->h / h));
|
||||
if(hmax < 0.)
|
||||
hmax = 0.;
|
||||
|
||||
/* Move. */
|
||||
wgt->dat.iar.pos -= direction * h;
|
||||
|
Loading…
Reference in New Issue
Block a user