changed focus methods

trailing spaces
pull/725/head
Your Name 4 years ago committed by filip mertens
parent 1f6c4ab44c
commit a093a46489
  1. 5
      apps/remix-ide/src/app/components/main-panel.js
  2. 2
      apps/remix-ide/src/app/components/side-panel.js

@ -24,6 +24,11 @@ export class MainPanel extends AbstractPanel {
super(profile)
}
focus (name) {
this.emit('focusChanged', name)
super.focus(name)
}
render () {
return yo`
<div class=${css.pluginsContainer} data-id="mainPanelPluginsContainer">

@ -92,6 +92,7 @@ export class SidePanel extends AbstractPanel {
focus (name) {
this.emit('focusChanged', name)
super.focus(name)
}
removeView (profile) {
@ -112,7 +113,6 @@ export class SidePanel extends AbstractPanel {
async showContent (name) {
super.showContent(name)
this.renderHeader()
this.focus(name)
}
/** The header of the side panel */

Loading…
Cancel
Save