1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 13:32:50 -05:00

dankdash: fix weather tooltips

fixes #1065
This commit is contained in:
bbedward
2025-12-16 15:27:44 -05:00
parent 0d1553123b
commit 672754b0b5

View File

@@ -94,11 +94,10 @@ Item {
Timer {
id: hoverDelayTwo
interval: 1000
interval: 300
repeat: false
onTriggered: {
const p = refreshButtonMouseAreaTwo.mapToItem(null, parent.width / 2, parent.height + Theme.spacingXS);
refreshButtonTooltipTwo.show(I18n.tr("Refresh Weather"), p.x, p.y, null);
refreshButtonTooltipTwo.show(I18n.tr("Refresh Weather"), refreshButtonTwo, 0, 0, "left");
}
}
@@ -118,7 +117,7 @@ Item {
}
}
DankTooltip {
DankTooltipV2 {
id: refreshButtonTooltipTwo
}
@@ -820,11 +819,10 @@ Item {
Timer {
id: hoverDelay
interval: 1000
interval: 300
repeat: false
onTriggered: {
const p = refreshButtonMouseArea.mapToItem(null, parent.width / 2, parent.height + Theme.spacingXS);
refreshButtonTooltip.show(I18n.tr("Refresh Weather"), p.x, p.y, null);
refreshButtonTooltip.show(I18n.tr("Refresh Weather"), refreshButton, 0, 0, "left");
}
}
@@ -844,7 +842,7 @@ Item {
}
}
DankTooltip {
DankTooltipV2 {
id: refreshButtonTooltip
}