Commit 5863f1d9 authored by lianahus's avatar lianahus

focus on FE only if current is in focus`

parent 97d05d4a
...@@ -229,9 +229,11 @@ export class VerticalIcons extends Plugin { ...@@ -229,9 +229,11 @@ 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)
if (e.target.parentElement.classList.contains('active')) {
this.select('fileExplorers') this.select('fileExplorers')
} }
} }
}
const links = {} const links = {}
if (documentation) { if (documentation) {
links.Documentation = documentation links.Documentation = documentation
......
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