tree: ignore hidden stacked windows
This commit is contained in:
parent
f7320d2332
commit
6be85847a6
1 changed files with 3 additions and 0 deletions
|
|
@ -499,6 +499,9 @@ impl Node for OutputNode {
|
|||
let (x_abs, y_abs) = self.global.pos.get().translate_inv(x, y);
|
||||
for stacked in self.state.root.stacked.rev_iter() {
|
||||
let ext = stacked.node_absolute_position();
|
||||
if !stacked.node_visible() {
|
||||
continue;
|
||||
}
|
||||
if stacked.stacked_absolute_position_constrains_input()
|
||||
&& !ext.contains(x_abs, y_abs)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue