fix: mask issues on popups

This commit is contained in:
kossLAN 2025-08-14 00:24:49 -04:00
parent ec04d07e24
commit 944e930537
Signed by: kossLAN
SSH key fingerprint: SHA256:bdV0x+wdQHGJ6LgmstH3KV8OpWY+OOFmJcPcB0wQPV8
2 changed files with 11 additions and 7 deletions

View file

@ -89,22 +89,21 @@ Scope {
active: true
windows: [popup, root.bar]
onCleared: {
root.shownItem.closed();
if (!active) {
root.shownItem.closed();
}
}
}
// HyprlandWindow.opacity: root.scaleMul
HyprlandWindow.visibleMask: Region {
id: mask
item: parentItem
}
HyprlandWindow.visibleMask: popup.mask
Connections {
target: root
function onScaleMulChanged() {
mask.changed();
popup.mask.changed();
}
}