Disable new scrollbar auto-show behavior for now
There are still some usability issues to fix with it
This commit is contained in:
parent
b79b032184
commit
339341da68
|
@ -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,
|
||||||
|
|
|
@ -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
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user