add hover persistence to app-acct menu

This commit is contained in:
Stewart Allen 2021-01-29 12:20:18 -05:00
commit c6a33cab70
3 changed files with 15 additions and 12 deletions

View file

@ -2094,15 +2094,16 @@
UI.scaleX.was = UI.scaleY.was = UI.scaleZ.was = 1;
};
let ltpops = [];
UC.hoverPop(UI.ltsetup, { group: ltpops, target: $('set-pop') });
UC.hoverPop(UI.ltfile, { group: ltpops, target: $('file-pop') });
UC.hoverPop(UI.ltview, { group: ltpops, target: $('pop-view') });
UC.hoverPop(UI.ltact, { group: ltpops, target: $('pop-slice') });
UC.hoverPop(UI.render, { group: ltpops, target: $('pop-render'), sticky: true });
UC.hoverPop(UI.rotate, { group: ltpops, target: $('pop-rotate'), sticky: true });
UC.hoverPop(UI.scale, { group: ltpops, target: $('pop-scale'), sticky: true });
UC.hoverPop(UI.nozzle, { group: ltpops, target: $('pop-nozzle'), sticky: true });
let hpops = [];
UC.hoverPop(UI.ltsetup, { group: hpops, target: $('set-pop') });
UC.hoverPop(UI.ltfile, { group: hpops, target: $('file-pop') });
UC.hoverPop(UI.ltview, { group: hpops, target: $('pop-view') });
UC.hoverPop(UI.ltact, { group: hpops, target: $('pop-slice') });
UC.hoverPop(UI.render, { group: hpops, target: $('pop-render'), sticky: true });
UC.hoverPop(UI.rotate, { group: hpops, target: $('pop-rotate'), sticky: true });
UC.hoverPop(UI.scale, { group: hpops, target: $('pop-scale'), sticky: true });
UC.hoverPop(UI.nozzle, { group: hpops, target: $('pop-nozzle'), sticky: true });
UC.hoverPop($('app-acct'), { group: hpops, target: $('acct-pop') } );
UC.onBlur([
UI.toolName,