Scrollbar: don't autohide if enabled (except on Mac)

This commit is contained in:
thotbot
2019-12-21 15:02:06 +00:00
parent 500c7ec82e
commit ded0a4da48
4 changed files with 9 additions and 2 deletions

View File

@@ -124,7 +124,9 @@ Rectangle {
Flickable {
id: flickable
anchors.fill: parent
ScrollBar.vertical: ScrollBar { }
ScrollBar.vertical: ScrollBar {
onActiveChanged: if (!active && !isMac) active = true
}
boundsBehavior: isMac ? Flickable.DragAndOvershootBounds : Flickable.StopAtBounds
TextArea.flickable: TextArea {