Make sure we never get in-panel scrolling when we shouldn'

This commit is contained in:
David Heinemeier Hansson
2026-06-20 22:19:53 +02:00
parent d74ed24db7
commit 8ae975357a
7 changed files with 18 additions and 3 deletions
+2 -1
View File
@@ -66,7 +66,7 @@ Panel {
readonly property bool rotatingPhrases: adapter && adapter.enabled
readonly property string heroStatusText: {
if (!adapter) return "No adapter"
if (!adapter.enabled) return "Bluetooth off"
if (!adapter.enabled) return "Turned Off"
return activePhrases[phraseIndex % activePhrases.length]
}
@@ -624,6 +624,7 @@ Panel {
contentHeight: deviceList.implicitHeight
clip: true
boundsBehavior: Flickable.StopAtBounds
interactive: contentHeight > height
ScrollBar.vertical: ScrollBar { policy: ScrollBar.AsNeeded }