add view fit contents chiclet
This commit is contained in:
parent
73bd316732
commit
9782f3159c
3 changed files with 7 additions and 2 deletions
|
|
@ -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() };
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ export async function selectHoles(individual) {
|
|||
setTimeout(() => {
|
||||
api.hide.alert(escAlert);
|
||||
}, 5000);
|
||||
api.widgets.opacity(0.8);
|
||||
api.widgets.setOpacity(0.8);
|
||||
}
|
||||
|
||||
export function selectHolesHover(data) {
|
||||
|
|
@ -173,7 +173,7 @@ export function selectHolesDone() {
|
|||
env.func.unpop();
|
||||
holeSelOn.classList.remove("editing");
|
||||
holeSelOn = false;
|
||||
api.widgets.opacity(1);
|
||||
api.widgets.setOpacity(1);
|
||||
api.hide.alert(alert);
|
||||
api.feature.hover = false;
|
||||
api.feature.hoverAdds = false;
|
||||
|
|
|
|||
|
|
@ -329,6 +329,10 @@
|
|||
<i class="fas fa-eye"></i>
|
||||
<div class="pop">choose focal point<br>camera orbit center</div>
|
||||
</span>
|
||||
<span id="context-contents" xlk="rc_focs">
|
||||
<i class="fas fa-expand"></i>
|
||||
<div class="pop">fit workspace contents</div>
|
||||
</span>
|
||||
<span id="render-solid" class="j-center">
|
||||
<i class="fas fa-square"></i>
|
||||
<div class="pop">render objects solid</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue