Don't center the room list on clicks by default

Previously, clicking to select a room would make the list jump around
to become centered again. This behavior is now reserved to keyboard
navigation.

A "centerRoomListOnClick" setting has been added to allow going back
to the previous behavior.
This commit is contained in:
miruka
2020-09-14 12:02:28 -04:00
parent 2712896456
commit d7d111705f
2 changed files with 15 additions and 3 deletions

View File

@@ -269,6 +269,7 @@ class UISettings(JSONDataFile):
"alwaysCenterRoomHeader": False,
# "autoHideScrollBarsAfterMsec": 2000,
"beUnavailableAfterSecondsIdle": 60 * 10,
"centerRoomListOnClick": False,
"compactMode": False,
"clearRoomFilterOnEnter": True,
"clearRoomFilterOnEscape": True,