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:
parent
dc68f28a40
commit
b2a5ded929
1 changed files with 1 additions and 1 deletions
|
|
@ -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)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue