1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-12-15 23:43:07 +00:00

Fix scrolling list of items to repair or recharge

This commit is contained in:
Andrew Lanzone 2025-06-06 00:34:23 -07:00
parent dc68f28a40
commit b2a5ded929

View file

@ -283,7 +283,7 @@ namespace MWGui
if (newFocus <= 3)
mScrollView->setViewOffset(MyGUI::IntPoint(0, 0));
else
mScrollView->setViewOffset(MyGUI::IntPoint(-55 * (newFocus - 3), 0));
mScrollView->setViewOffset(MyGUI::IntPoint(0, -55 * (newFocus - 3)));
}
}
}