osd: fix show on hover

This commit is contained in:
2 * r + 2 * t 2025-05-11 21:24:14 +10:00
parent 925c5176ae
commit a2c3417675

View file

@ -55,7 +55,7 @@ Variants {
target: Drawers
function onPosChanged(screen: ShellScreen, x: int, y: int): void {
if (screen === root.modelData && x > screen.width / 2 && y > (screen.height - root.winHeight) / 2 && y < (screen.height + root.winHeight) / 2)
if (screen === root.modelData && x > screen.width - BorderConfig.thickness && y > (screen.height - root.winHeight) / 2 && y < (screen.height + root.winHeight) / 2)
root.show();
}
}