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,
"alertOnMessageForMsec": 0,
"alwaysCenterRoomHeader": False,
"autoHideScrollBarsAfterMsec": 2000,
# "autoHideScrollBarsAfterMsec": 2000,
"beUnavailableAfterSecondsIdle": 60 * 10,
"compactMode": False,
"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 {
id: activeOverride
value: initialVisibilityTimer.running
}
// Binding on active {
// id: activeOverride
// value: initialVisibilityTimer.running
// }
Timer {
id: initialVisibilityTimer
interval: window.settings.autoHideScrollBarsAfterMsec
running: scrollBar.size < 1
}
// Timer {
// id: initialVisibilityTimer
// interval: window.settings.autoHideScrollBarsAfterMsec
// running: scrollBar.size < 1
// }
}