Do not copy theme for console

This commit is contained in:
luboslenco 2019-04-04 15:53:11 +02:00
parent 93ab14bfa4
commit 8ad93763b2

View file

@ -61,9 +61,7 @@ class DebugConsole extends Trait {
this.scaleFactor = scaleFactor;
iron.data.Data.getFont('font_default.ttf', function(font:kha.Font) {
var theme = Reflect.copy(zui.Themes.dark);
theme.WINDOW_BG_COL = 0xee111111;
ui = new Zui({scaleFactor: scaleFactor, font: font, theme: theme});
ui = new Zui({scaleFactor: scaleFactor, font: font});
notifyOnRender2D(render2D);
notifyOnUpdate(update);
if (haxeTrace == null) {