Turn off the quick scroll bar from #22796 by default on desktop

This commit is contained in:
Henrik Rydgård committed 2026-11-05 13:39:40 +01:00
1 parent 307e43b8de
commit bfb3f0f23f
2 files changed
+7 -2

No files matched your search

+4
View File
@@ -3640,7 +3640,11 @@ void ImConfig::SyncConfig(IniFile *ini, bool save) {
sync.SetSection(ini->GetOrCreateSection("Settings"));
sync.Sync("displayLatched", &displayLatched, false);
sync.Sync("realtimePixelPreview", &realtimePixelPreview, false);
#if defined(MOBILE_DEVICE)
sync.Sync("quickScrollEnabled", &quickScrollEnabled, true);
#else
sync.Sync("quickScrollEnabled", &quickScrollEnabled, false);
#endif
sync.Sync("quickScrollCollapsed", &quickScrollCollapsed, false);
sync.Sync("forceKeyboard", &forceKeyboard, false);
sync.Sync("showKeyboardToggle", &showKeyboardToggle, true);
+3 -2
View File
@@ -132,8 +132,9 @@ struct ImConfig {
float fbViewerZoom = 1.0f;
// Touch / mobile helpers.
bool quickScrollEnabled = true; // Show the quick scroll strip on the right edge.
bool quickScrollCollapsed = false; // Strip collapsed to a single small button.
bool quickScrollEnabled; // Show the quick scroll strip on the right edge.
bool quickScrollCollapsed; // Strip collapsed to a single small button.
bool forceKeyboard = false; // Keyboard currently active (toggled from the bar). Asks the platform to keep the soft keyboard up.
bool showKeyboardToggle = true; // Show the keyboard button in the bar. Hiding it also turns the keyboard off.
bool keyboardPersist = true; // Keep the keyboard on after switching to another app and back.