mode info shows proper profile. add hover persistence

This commit is contained in:
Stewart Allen 2021-01-29 12:33:57 -05:00
commit 09d1b35fe3
3 changed files with 5 additions and 3 deletions

View file

@ -2104,6 +2104,8 @@
UC.hoverPop(UI.scale, { group: hpops, target: $('pop-scale'), 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(UI.nozzle, { group: hpops, target: $('pop-nozzle'), sticky: true });
UC.hoverPop($('app-acct'), { group: hpops, target: $('acct-pop') } ); UC.hoverPop($('app-acct'), { group: hpops, target: $('acct-pop') } );
UC.hoverPop($('app-mode'), { group: hpops, target: $('mode-info') } );
UC.hoverPop($('app-name'), { group: hpops, target: $('app-info') } );
UC.onBlur([ UC.onBlur([
UI.toolName, UI.toolName,

View file

@ -1966,7 +1966,7 @@
} }
API.conf.save(); API.conf.save();
$('mode-device').innerText = settings.device.deviceName; $('mode-device').innerText = settings.device.deviceName;
$('mode-profile').innerText = settings.process.processName; $('mode-profile').innerText = settings.cproc[settings.mode];
} }
function saveSettings() { function saveSettings() {

View file

@ -269,7 +269,7 @@ th, tr, td, label {
#app-mode, #app-acct { #app-mode, #app-acct {
width: 125px; width: 125px;
} }
#app-mode:hover #mode-info { #mode-info.hoverpop {
display: flex; display: flex;
} }
#mode-info { #mode-info {
@ -295,7 +295,7 @@ th, tr, td, label {
padding-right: 5px; padding-right: 5px;
} }
#app-name:hover #app-info { #app-info.hoverpop {
display: flex; display: flex;
} }
#app-info { #app-info {