auto-adjust camZBottom when flipping only one widget
This commit is contained in:
parent
a0e58afb3a
commit
16c43b94b1
2 changed files with 9 additions and 3 deletions
|
|
@ -262,7 +262,7 @@
|
|||
function cutTabs(tabs, offset, z) {
|
||||
let noff = [];
|
||||
tabs = tabs.filter(tab => z < tab.pos.z + tab.dim.z/2).map(tab => tab.off).flat();
|
||||
offset.forEach(op => noff.appendAll( op.cut(POLY.union(tabs)) ));
|
||||
offset.forEach(op => noff.appendAll( op.cut(POLY.union(tabs, 0, true)) ));
|
||||
if (noff.length > 1) {
|
||||
let heal = 0;
|
||||
// heal/rejoin open segments that share endpoints
|
||||
|
|
|
|||
Loading…
Reference in a new issue