fix spurious gapped layers in fdm + path mode. fix wrong support menu showing in SLA mode

This commit is contained in:
Stewart Allen 2021-01-18 18:45:03 -05:00
commit 02ede29305
3 changed files with 7 additions and 4 deletions

View file

@ -35,7 +35,7 @@
restoreSupports(api.widgets.all());
});
api.event.on("settings.saved", (settings) => {
api.ui.fdmSupport.style.display = lastMode === 'CAM' || settings.device.bedBelt ? 'none' : 'flex';
api.ui.fdmSupport.style.display = lastMode !== 'FDM' || settings.device.bedBelt ? 'none' : 'flex';
});
api.event.on("button.click", target => {
switch (target) {