move mode menu to top right
This commit is contained in:
parent
5c56c4e860
commit
1b542ccbbf
5 changed files with 51 additions and 9 deletions
|
|
@ -2751,6 +2751,10 @@ gapp.register("kiri.init", [], (root, exports) => {
|
|||
|
||||
// bind interface action elements
|
||||
$('app-name').onclick = api.help.show;
|
||||
$('mode-fdm').onclick = () => api.mode.set('FDM');
|
||||
$('mode-cam').onclick = () => api.mode.set('CAM');
|
||||
$('mode-sla').onclick = () => api.mode.set('SLA');
|
||||
$('mode-laser').onclick = () => api.mode.set('LASER');
|
||||
$('set-device').onclick = (ev) => { ev.stopPropagation(); showDevices() };
|
||||
$('set-profs').onclick = (ev) => { ev.stopPropagation(); api.conf.show() };
|
||||
$('set-tools').onclick = (ev) => { ev.stopPropagation(); showTools() };
|
||||
|
|
|
|||
Loading…
Reference in a new issue