dismiss modal on clicks outside modal dialog
This commit is contained in:
parent
3adeecbbc7
commit
047229f1e4
1 changed files with 3 additions and 0 deletions
|
|
@ -1931,6 +1931,9 @@
|
|||
$('rot_z_lt').onclick = () => { API.selection.rotate(0,0,-d) };
|
||||
$('rot_z_gt').onclick = () => { API.selection.rotate(0,0, d) };
|
||||
|
||||
UI.modal.onclick = API.modal.hide;
|
||||
UI.modalBox.onclick = (ev) => { ev.stopPropagation() };
|
||||
|
||||
// add app name hover info
|
||||
$('app-info').innerText = KIRI.version;
|
||||
// show topline separator when iframed
|
||||
|
|
|
|||
Loading…
Reference in a new issue