Commit 5863f1d9 authored by lianahus's avatar lianahus

focus on FE only if current is in focus`

parent 97d05d4a
...@@ -229,7 +229,9 @@ export class VerticalIcons extends Plugin { ...@@ -229,7 +229,9 @@ export class VerticalIcons extends Plugin {
actions.Deactivate = () => { actions.Deactivate = () => {
// this.call('manager', 'deactivatePlugin', name) // this.call('manager', 'deactivatePlugin', name)
this.appManager.deactivatePlugin(name) this.appManager.deactivatePlugin(name)
this.select('fileExplorers') if (e.target.parentElement.classList.contains('active')) {
this.select('fileExplorers')
}
} }
} }
const links = {} const links = {}
......
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