From 8ad93763b2b24ccbefa1bddbe9be03a7cadd5ebb Mon Sep 17 00:00:00 2001 From: luboslenco Date: Thu, 4 Apr 2019 15:53:11 +0200 Subject: [PATCH] Do not copy theme for console --- Sources/armory/trait/internal/DebugConsole.hx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Sources/armory/trait/internal/DebugConsole.hx b/Sources/armory/trait/internal/DebugConsole.hx index 933cce28..b011deae 100755 --- a/Sources/armory/trait/internal/DebugConsole.hx +++ b/Sources/armory/trait/internal/DebugConsole.hx @@ -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) {