explicit control for adaptive slicing. reorder menus
This commit is contained in:
parent
c14f98f0fa
commit
a2a75dc5f7
4 changed files with 27 additions and 11 deletions
|
|
@ -134,9 +134,12 @@
|
|||
// } });
|
||||
// onSliceDone(slices);
|
||||
|
||||
const sliceMinHeight = spro.sliceAdaptive && spro.sliceMinHeight > 0 ?
|
||||
Math.min(spro.sliceMinHeight, sliceHeight) : 0;
|
||||
|
||||
SLICER.sliceWidget(widget, {
|
||||
height: sliceHeight,
|
||||
minHeight: sliceHeight > spro.sliceMinHeight ? spro.sliceMinHeight : 0,
|
||||
minHeight: sliceMinHeight,
|
||||
firstHeight: spro.firstSliceHeight,
|
||||
// debug: true,
|
||||
// xray: 3,
|
||||
|
|
|
|||
Loading…
Reference in a new issue