add hover-pop delay + grouping for left menu
This commit is contained in:
parent
e8ce2f66d1
commit
9d37b2e678
5 changed files with 64 additions and 14 deletions
|
|
@ -1464,6 +1464,10 @@
|
|||
|
||||
back: $('lt-back'),
|
||||
trash: $('lt-trash'),
|
||||
ltsetup: $('lt-setup'),
|
||||
ltfile: $('lt-file'),
|
||||
ltview: $('lt-view'),
|
||||
ltact: $('act-slice'),
|
||||
rotate: $('lt-rotate'),
|
||||
scale: $('lt-scale'),
|
||||
nozzle: $('lt-nozzle'),
|
||||
|
|
@ -2085,6 +2089,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') });
|
||||
UC.hoverPop(UI.rotate, { group: ltpops, target: $('pop-rotate') });
|
||||
UC.hoverPop(UI.scale, { group: ltpops, target: $('pop-scale') });
|
||||
UC.hoverPop(UI.nozzle, { group: ltpops, target: $('pop-nozzle') });
|
||||
|
||||
UC.onBlur([
|
||||
UI.toolName,
|
||||
UI.toolNum,
|
||||
|
|
|
|||
Loading…
Reference in a new issue