add ability for ui components to enable/disable based on arbitrary functions. add laser slice min height when auto detect enabled
This commit is contained in:
parent
f9336c7afd
commit
9238a68257
6 changed files with 29 additions and 5 deletions
|
|
@ -40,7 +40,9 @@
|
|||
}
|
||||
|
||||
SLICER.sliceWidget(widget, {
|
||||
height: proc.laserSliceHeight, single: proc.laserSliceSingle
|
||||
single: proc.laserSliceSingle,
|
||||
height: proc.laserSliceHeight,
|
||||
minHeight: proc.laserSliceHeight === 0 ? proc.laserSliceHeightMin : 0
|
||||
}, function(slices) {
|
||||
widget.slices = slices;
|
||||
slices.forEach(function(slice, index) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue