Disable new scrollbar auto-show behavior for now

There are still some usability issues to fix with it
This commit is contained in:
miruka 2020-08-21 09:27:21 -04:00
parent b79b032184
commit 339341da68
2 changed files with 13 additions and 12 deletions

View File

@ -267,7 +267,7 @@ class UISettings(JSONDataFile):
"alertOnMentionForMsec": -1, "alertOnMentionForMsec": -1,
"alertOnMessageForMsec": 0, "alertOnMessageForMsec": 0,
"alwaysCenterRoomHeader": False, "alwaysCenterRoomHeader": False,
"autoHideScrollBarsAfterMsec": 2000, # "autoHideScrollBarsAfterMsec": 2000,
"beUnavailableAfterSecondsIdle": 60 * 10, "beUnavailableAfterSecondsIdle": 60 * 10,
"compactMode": False, "compactMode": False,
"clearRoomFilterOnEnter": True, "clearRoomFilterOnEnter": True,

View File

@ -36,18 +36,19 @@ ScrollBar {
} }
} }
onFlickableMovingChanged: if (flickableMoving) activeOverride.when = false // onFlickableMovingChanged: if (flickableMoving) activeOverride.when = false
Behavior on opacity { HNumberAnimation { factor: 2 } } // Behavior on opacity { HNumberAnimation { factor: 2 } }
Behavior on opacity { HNumberAnimation {} }
Binding on active { // Binding on active {
id: activeOverride // id: activeOverride
value: initialVisibilityTimer.running // value: initialVisibilityTimer.running
} // }
Timer { // Timer {
id: initialVisibilityTimer // id: initialVisibilityTimer
interval: window.settings.autoHideScrollBarsAfterMsec // interval: window.settings.autoHideScrollBarsAfterMsec
running: scrollBar.size < 1 // running: scrollBar.size < 1
} // }
} }