show and hide ui

This commit is contained in:
ojack
2022-02-11 15:27:19 +01:00
parent b9c8179b36
commit ccae0019bb
3 changed files with 16 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ module.exports = class Editor extends Component {
}
update (state) {
if(state.showInfo === true) {
if(state.showInfo === true || state.showUI === false) {
this.hide()
} else {
this.show()