Commit a093a464 authored by Your Name's avatar Your Name Committed by filip mertens

changed focus methods

trailing spaces
parent 1f6c4ab4
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment