mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 16:23:35 +01:00
Remember game list scroll
This commit is contained in:
1 parent
388ac3c9ae
commit
a014d7c785
6 files changed
+13
-7
No files matched your search
@@ -860,7 +860,7 @@ void ScrollView::PersistData(PersistStatus status, std::string anonId, PersistMa
|
||||
void ScrollView::SetVisibility(Visibility visibility) {
|
||||
ViewGroup::SetVisibility(visibility);
|
||||
|
||||
if (visibility == V_GONE) {
|
||||
if (visibility == V_GONE && !rememberPosition_) {
|
||||
// Since this is no longer shown, forget the scroll position.
|
||||
// For example, this happens when switching tabs.
|
||||
ScrollTo(0.0f);
|
||||
|
||||
Reference in new issue
Block a user