fix belt settings mixture across mode changes. commend cleanup, rm dead code

This commit is contained in:
Stewart Allen 2024-07-08 17:34:43 -04:00
commit d88f603e38
4 changed files with 19 additions and 20 deletions

View file

@ -931,7 +931,7 @@ gapp.register("kiri.main", [], (root, exports) => {
// restore cached device profile for this mode
if (current.cdev[mode]) {
current.device = clone(current.cdev[mode]);
api.event.emit('device.set', currentDeviceName());
api.event.emit('device.select', currentDeviceName());
}
// hide/show
api.uc.setVisible($('set-tools'), mode === 'CAM');