BarPill: fix potential wrong tooltip update

This commit is contained in:
ItsLemmy
2025-10-17 10:23:54 -04:00
parent e1ec5c614c
commit 0ed82fbae8
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -67,7 +67,9 @@ Item {
Connections {
target: root
function onTooltipTextChanged() {
TooltipService.updateText(root.tooltipText)
if (hovered) {
TooltipService.updateText(root.tooltipText)
}
}
}
+3 -1
View File
@@ -77,7 +77,9 @@ Item {
Connections {
target: root
function onTooltipTextChanged() {
TooltipService.updateText(root.tooltipText)
if (hovered) {
TooltipService.updateText(root.tooltipText)
}
}
}