|
|
@ -144,11 +144,6 @@ class Editor extends Plugin { |
|
|
|
this.currentThemeType = theme.quality |
|
|
|
this.currentThemeType = theme.quality |
|
|
|
this.renderComponent() |
|
|
|
this.renderComponent() |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.on('fileManager', 'fileClosed', (name) => { |
|
|
|
|
|
|
|
if (name === this.currentFile) { |
|
|
|
|
|
|
|
this.currentFile = null |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
try { |
|
|
|
try { |
|
|
|
this.currentThemeType = (await this.call('theme', 'currentTheme')).quality |
|
|
|
this.currentThemeType = (await this.call('theme', 'currentTheme')).quality |
|
|
|
} catch (e) { |
|
|
|
} catch (e) { |
|
|
|