mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-05 06:59:50 -05:00
fix: mask issues on popups
This commit is contained in:
parent
ec04d07e24
commit
944e930537
2 changed files with 11 additions and 7 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue