[Fix] Silly mistake in image array scrolling.

This commit is contained in:
Allanis 2013-10-29 20:44:34 +00:00
parent 9699b0ed10
commit 18e4d9088c

View File

@ -1835,7 +1835,7 @@ static void toolkit_imgarrMove(Widget* iar, double ry) {
hmax = h * (yelem - (int)(iar->h / h)); hmax = h * (yelem - (int)(iar->h / h));
iar->dat.iar.pos -= (ry * (iar->w - 30.) / hmax) / 2.; iar->dat.iar.pos -= ry*hmax / (iar->h - 30.);
/* Does boundry checks. */ /* Does boundry checks. */
toolkit_listScroll(iar, 0); toolkit_listScroll(iar, 0);