checkpoint floating tool menu work

This commit is contained in:
Stewart Allen 2021-10-08 11:07:38 -04:00
commit 7622c61e67
3 changed files with 38 additions and 26 deletions

View file

@ -1816,8 +1816,8 @@
let menu_show = selcount ? 'flex': '';
$('winfo').style.display = 'none';
if (selcount) {
UI.scale.classList.add('lt-active');
UI.rotate.classList.add('lt-active');
// UI.scale.classList.add('lt-active');
// UI.rotate.classList.add('lt-active');
UI.nozzle.classList.add('lt-active');
UI.trash.style.display = 'flex';
if (feature.meta && selcount === 1) {
@ -1838,8 +1838,8 @@
}
}
} else {
UI.scale.classList.remove('lt-active');
UI.rotate.classList.remove('lt-active');
// UI.scale.classList.remove('lt-active');
// UI.rotate.classList.remove('lt-active');
UI.nozzle.classList.remove('lt-active');
UI.trash.style.display = '';
}