Fix theme defaulting to Everblush
This commit is contained in:
@ -213,13 +213,7 @@ export class Editor {
|
|||||||
loadUniverserFromUrl(this);
|
loadUniverserFromUrl(this);
|
||||||
|
|
||||||
// Set the color scheme for the application
|
// Set the color scheme for the application
|
||||||
let available_themes = Object.keys(colors);
|
|
||||||
if (this.settings.theme in available_themes) {
|
|
||||||
this.readTheme(this.settings.theme);
|
this.readTheme(this.settings.theme);
|
||||||
} else {
|
|
||||||
this.settings.theme = "Everblush";
|
|
||||||
this.readTheme(this.settings.theme);
|
|
||||||
}
|
|
||||||
|
|
||||||
this.documentationStyle = createDocumentationStyle(this);
|
this.documentationStyle = createDocumentationStyle(this);
|
||||||
this.bindings = Object.keys(this.documentationStyle).map((key) => ({
|
this.bindings = Object.keys(this.documentationStyle).map((key) => ({
|
||||||
|
|||||||
Reference in New Issue
Block a user