1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-28 22:12:10 -04:00

feat(popouts): enhance hover functionality and introduce hover dismiss features

This commit is contained in:
purian23
2026-06-27 22:21:03 -04:00
parent 601d4104a3
commit a8c15fcde9
15 changed files with 1232 additions and 955 deletions
+2 -4
View File
@@ -1123,13 +1123,11 @@ PanelWindow {
const gp = barUnitInset.mapToItem(null, point.position.x, point.position.y);
lastGlobalX = gp.x;
lastGlobalY = gp.y;
topBarContent.checkHoverPopout(gp.x, gp.y);
topBarContent.queueHoverPopout(gp.x, gp.y);
}
onHoveredChanged: {
if (hovered)
return;
topBarContent.scheduleHoverClose(lastGlobalX, lastGlobalY);
topBarContent.updateHoverBarHovered(hovered);
}
}
}