ui: hide the console toggle button when the bottom panel is minimized and the editor is disabled
This commit is contained in:
parent
8e3e6266c5
commit
a36f9da50d
4 changed files with 10 additions and 1 deletions
|
|
@ -403,6 +403,7 @@ class Editor {
|
|||
this.enabled = true
|
||||
|
||||
document.body.classList.add('editor-enabled')
|
||||
document.body.classList.remove('editor-disabled')
|
||||
|
||||
this.widgetTree.updateTree(this.selectedWidgets)
|
||||
|
||||
|
|
@ -424,6 +425,7 @@ class Editor {
|
|||
this.unselect()
|
||||
this.selectedWidgets = []
|
||||
|
||||
document.body.classList.add('editor-disabled')
|
||||
document.body.classList.remove('editor-enabled')
|
||||
|
||||
keyboardJS.setContext('global')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue