tiling: Align root level windows with root-level group windows
Fixes #119.
This commit is contained in:
parent
8201ba023d
commit
8255331142
1 changed files with 4 additions and 0 deletions
|
|
@ -1749,7 +1749,11 @@ where
|
||||||
)
|
)
|
||||||
.into(),
|
.into(),
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
if is_potential_group
|
||||||
|
|| node.parent().map(|parent| parent == root).unwrap_or(false)
|
||||||
|
{
|
||||||
geo.loc += (gap, gap).into();
|
geo.loc += (gap, gap).into();
|
||||||
geo.size -= (gap * 2, gap * 2).into();
|
geo.size -= (gap * 2, gap * 2).into();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue