Improve 'slopes' input, add compass indicator

This commit is contained in:
Pieter Vander Vennet 2023-12-16 01:29:42 +01:00
parent b7175384f9
commit 7a3cb9fbdd
17 changed files with 268 additions and 108 deletions

View file

@ -518,6 +518,13 @@ export default class ThemeViewState implements SpecialVisualizationState {
if (this.selectedElement.data !== undefined) {
return false
}
if (
this.guistate.menuIsOpened.data ||
this.guistate.themeIsOpened.data ||
this.previewedImage.data !== undefined
) {
return
}
this.selectClosestAtCenter(0)
}
)