From 39895bf75b81f3d5b7e811d236f7d4fced1915b8 Mon Sep 17 00:00:00 2001 From: zach Date: Sat, 13 Jun 2026 13:12:15 +0200 Subject: [PATCH] fix scrollbar visible even when contentHeight < height --- Components/CustomScrollBar.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Components/CustomScrollBar.qml b/Components/CustomScrollBar.qml index 42ce919..d58888b 100644 --- a/Components/CustomScrollBar.qml +++ b/Components/CustomScrollBar.qml @@ -67,7 +67,7 @@ ScrollBar { implicitHeight: root.height * root.effectiveSize implicitWidth: fullMouse.pressed || fullMouse.containsMouse ? Appearance.padding.extraSmall * 2 : Appearance.padding.extraSmall opacity: { - if (root.effectiveSize === 1) + if (root.size === 1) return 0; if (fullMouse.pressed) return 1;