remove only highlight

pull/11/head
LianaHus 5 years ago committed by ioedeveloper
parent 4b3d06b063
commit 9f7010a5be
  1. 2
      apps/remix-ide/src/app/tabs/debugger-tab.js
  2. 5
      apps/remix-ide/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