changed focus methods

trailing spaces
pull/5370/head
Your Name 4 years ago committed by filip mertens
parent 0f9c650f34
commit b94c6fb8ca
  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