add view fit contents chiclet

This commit is contained in:
Stewart Allen 2025-12-18 11:15:08 -05:00
commit 9782f3159c
3 changed files with 7 additions and 2 deletions

View file

@ -1770,6 +1770,7 @@ function init_two() {
ev => api.space.set_focus(undefined, ev.object.point)
);
};
$('context-contents').onclick = () => { api.SPACE.view.fit() };
// ui.modal.onclick = api.modal.hide;
ui.modalBox.onclick = (ev) => { ev.stopPropagation() };