if in mesh tool you are unable to close() a window, bounce back to kiri
This commit is contained in:
parent
4a683bd389
commit
181224b59e
1 changed files with 1 additions and 1 deletions
|
|
@ -404,7 +404,7 @@ function ui_build() {
|
|||
menu_item('Slicer', api.kirimoto),
|
||||
menu_item('Script', api.script.toggle),
|
||||
hr(),
|
||||
menu_item('Close', window.close),
|
||||
menu_item('Close', () => window.close() || api.kirimoto()),
|
||||
])
|
||||
]),
|
||||
div({ class: "menu sketch-on" }, [
|
||||
|
|
|
|||
Loading…
Reference in a new issue