add fit contents to view menu

This commit is contained in:
Stewart Allen 2025-12-18 11:18:52 -05:00
commit 8ac7ea712e
2 changed files with 5 additions and 0 deletions

View file

@ -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() };