Bind notification popup mask to the toast column item
Use Region { item: popupColumn } instead of manually mirroring the
column's x/y/width/height. It tracks the item's mapped geometry directly,
so it stays correct without assuming the column shares the window's
coordinate space.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
b1a9d7912e
commit
b6bd486c39
@@ -795,12 +795,7 @@ Item {
|
||||
|
||||
// Keep the surface click-through except over the toast column, so the
|
||||
// rest of the (invisible) full-screen overlay never eats input.
|
||||
mask: Region {
|
||||
x: popupColumn.x
|
||||
y: popupColumn.y
|
||||
width: popupColumn.width
|
||||
height: popupColumn.height
|
||||
}
|
||||
mask: Region { item: popupColumn }
|
||||
|
||||
ColumnLayout {
|
||||
id: popupColumn
|
||||
|
||||
Reference in New Issue
Block a user