fix scrollbar visible even when contentHeight < height
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 9s
Python / lint-format (pull_request) Successful in 22s
Python / test (pull_request) Successful in 29s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m8s

This commit is contained in:
2026-06-13 13:12:15 +02:00
parent fea468dd0c
commit 39895bf75b
+1 -1
View File
@@ -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;