Guard bar tooltips with live hover state

This commit is contained in:
David Heinemeier Hansson
2026-05-20 15:52:43 +02:00
parent 9e77ea3aca
commit 5110b0d753
2 changed files with 35 additions and 14 deletions
+1
View File
@@ -56,6 +56,7 @@ Item {
readonly property real scaledHorizontalMargin: Style.spaceReal(horizontalMargin)
readonly property real scaledRightExtraMargin: Style.spaceReal(rightExtraMargin)
readonly property real scaledVerticalPadding: Style.spaceReal(verticalPadding)
readonly property bool tooltipHovered: visible && interactive && !concealed && mouseArea.containsMouse
visible: text !== "" || keepSpace
opacity: text === "" || concealed ? 0 : (dimmed ? 0.45 : 1)