Tooltip: different approach to get the current screen.

This commit is contained in:
ItsLemmy
2025-10-03 23:27:07 -04:00
parent b85576653a
commit 86127660fe
33 changed files with 32 additions and 83 deletions
+1 -2
View File
@@ -7,7 +7,6 @@ import qs.Services
Rectangle {
id: root
property ShellScreen screen
property real baseSize: Style.baseWidgetSize
property string icon
@@ -74,7 +73,7 @@ Rectangle {
onEntered: {
hovering = root.enabled ? true : false
if (tooltipText) {
TooltipService.show(parent, tooltipText, tooltipDirection)
TooltipService.show(Screen, parent, tooltipText, tooltipDirection)
}
root.entered()
}