add fit contents to view menu
This commit is contained in:
parent
9782f3159c
commit
8ac7ea712e
2 changed files with 5 additions and 0 deletions
|
|
@ -1771,6 +1771,7 @@ function init_two() {
|
|||
);
|
||||
};
|
||||
$('context-contents').onclick = () => { api.SPACE.view.fit() };
|
||||
$('view-fit').onclick = () => { api.SPACE.view.fit() };
|
||||
|
||||
// ui.modal.onclick = api.modal.hide;
|
||||
ui.modalBox.onclick = (ev) => { ev.stopPropagation() };
|
||||
|
|
|
|||
Loading…
Reference in a new issue