MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / onAppearanceChanged

Method onAppearanceChanged

tools/xsbug/main.js:221–230  ·  view source on GitHub ↗
(application, which)

Source from the content-addressed store, hash-verified

219 application.updateMenus();
220 }
221 onAppearanceChanged(application, which) {
222 this.appearance = which;
223 this.onColorsChanged(application);
224 if (!application.first) {
225 application.add(new MainContainer(this));
226 this.doOpenView();
227
228 application.defer("onOpenFileCallback");
229 }
230 }
231 onColorsChanged(application) {
232 let appearance = this.colors;
233 if (appearance == 2)

Callers

nothing calls this directly

Calls 4

onColorsChangedMethod · 0.95
doOpenViewMethod · 0.95
deferMethod · 0.80
addMethod · 0.65

Tested by

no test coverage detected