remove only highlight

uiCheck
LianaHus 5 years ago
parent da6548b4d2
commit 8da1d9c6d2
  1. 2
      src/app/tabs/debugger-tab.js
  2. 5
      src/app/tabs/debugger/debuggerUI.js

@ -71,7 +71,7 @@ class DebuggerTab extends ViewPlugin {
}
deactivate () {
this.debuggerUI.unLoad()
this.debuggerUI.deletHighlights()
super.deactivate()
}

@ -207,7 +207,6 @@ class DebuggerUI {
}
async unLoad () {
await this.debuggerModule.call('editor', 'discardHighlight')
yo.update(this.debuggerHeadPanelsView, yo`<div></div>`)
yo.update(this.debuggerPanelsView, yo`<div></div>`)
yo.update(this.stepManagerView, yo`<div></div>`)
@ -220,6 +219,10 @@ class DebuggerUI {
this.event.trigger('traceUnloaded')
}
async deletHighlights () {
await this.debuggerModule.call('editor', 'discardHighlight')
}
renderDebugger () {
yo.update(this.debuggerHeadPanelsView, this.vmDebugger.renderHead())
yo.update(this.debuggerPanelsView, this.vmDebugger.render())

Loading…
Cancel
Save