rework and improve tool bar pop menus
This commit is contained in:
parent
9a02408e7b
commit
3a97903017
9 changed files with 179 additions and 129 deletions
|
|
@ -65,7 +65,6 @@ function startIt() {
|
|||
console.log(`${opName} cannot pre-empt hover`);
|
||||
return;
|
||||
}
|
||||
$('lay-flat').classList.add('selected');
|
||||
api.feature.hover = true;
|
||||
enabled = true;
|
||||
alert = api.show.alert(`[ESC] to end ${opName}`, 600000);
|
||||
|
|
@ -74,7 +73,6 @@ function startIt() {
|
|||
function endIt() {
|
||||
if (enabled) {
|
||||
api.hide.alert(alert);
|
||||
$('lay-flat').classList.remove('selected');
|
||||
api.feature.hover = false;
|
||||
enabled = false;
|
||||
alert = undefined;
|
||||
|
|
|
|||
Loading…
Reference in a new issue