fix ams info label text alignment. add button hover title

This commit is contained in:
Stewart Allen 2025-02-26 20:55:18 -05:00
commit 596b76ccee
2 changed files with 5 additions and 1 deletions

View file

@ -916,7 +916,10 @@ self.kiri.load(api => {
ev.stopPropagation();
},
onmouseenter(ev) {
clearTimeout(ev.target.__timer);
let { target } = ev;
let { bambu } = target;
target.title = bblapi.filament.map[bambu.tray_info_idx];
clearTimeout(target.__timer);
},
onmouseleave(ev) {
ev.target.__timer = setTimeout(() => {