fix(core): update

This commit is contained in:
2020-12-07 04:07:03 +00:00
parent 4220131bc4
commit 47cb726716
3 changed files with 41 additions and 37 deletions

View File

@ -150,7 +150,9 @@ export class WccDashboard extends LitElement {
}
const domtoolsInstance = await plugins.deesDomtools.elementBasic.setup();
domtoolsInstance.setVirtualViewport(routeInfo.params.viewport as TViewport);
domtoolsInstance.themeManager.goBrightBoolean = this.selectedTheme === 'bright';
this.selectedTheme === 'bright' ?
domtoolsInstance.themeManager.goBright() :
domtoolsInstance.themeManager.goDark();
});
}