Guard bar tooltips with live hover state
This commit is contained in:
1 parent
9e77ea3aca
commit
5110b0d753
2 files changed
+35
-14
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user