mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-30 14:14:43 +00:00
a41457e224
In case there were less items in the list than on a page, it was possible that a "scrollTo" call scrolled items out of the view even though all could be displayed. This caused odd behavior in the load dialog in T7G. There the list contains 10 entries. In case the last one was loaded via the dialog, the next time it was brought up again it showed the 9th entry at the top of the view and effectively hiding all the others. It furthermore did not show the scroll bar because all entries would have fit onto one page. To prevent this odd behavior, a boundary check has been added to all places where the scroll position is set. This has been taken from "scrollToCurrent" which already tried to prevent this. This fixes the second issue described in bug #3610960 "T7G - savegame glitches". |
||
---|---|---|
.. | ||
themes | ||
widgets | ||
about.cpp | ||
about.h | ||
Actions.cpp | ||
Actions.h | ||
browser_osx.mm | ||
browser.cpp | ||
browser.h | ||
chooser.cpp | ||
chooser.h | ||
console.cpp | ||
console.h | ||
credits.h | ||
debugger.cpp | ||
debugger.h | ||
dialog.cpp | ||
dialog.h | ||
error.cpp | ||
error.h | ||
fluidsynth-dialog.cpp | ||
fluidsynth-dialog.h | ||
gui-manager.cpp | ||
gui-manager.h | ||
Key.cpp | ||
Key.h | ||
KeysDialog.cpp | ||
KeysDialog.h | ||
launcher.cpp | ||
launcher.h | ||
massadd.cpp | ||
massadd.h | ||
message.cpp | ||
message.h | ||
module.mk | ||
object.cpp | ||
object.h | ||
options.cpp | ||
options.h | ||
predictivedialog.cpp | ||
predictivedialog.h | ||
saveload-dialog.cpp | ||
saveload-dialog.h | ||
saveload.cpp | ||
saveload.h | ||
themebrowser.cpp | ||
themebrowser.h | ||
ThemeEngine.cpp | ||
ThemeEngine.h | ||
ThemeEval.cpp | ||
ThemeEval.h | ||
ThemeLayout.cpp | ||
ThemeLayout.h | ||
ThemeParser.cpp | ||
ThemeParser.h | ||
Tooltip.cpp | ||
Tooltip.h | ||
widget.cpp | ||
widget.h |