From 74ca8143a7c2352425d549b681b2838bda5ee218 Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 20 Nov 2021 14:10:24 +0800 Subject: *misc --- Data/Libraries/GameLab/Editor/Window/GUIWindow.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Data/Libraries') diff --git a/Data/Libraries/GameLab/Editor/Window/GUIWindow.lua b/Data/Libraries/GameLab/Editor/Window/GUIWindow.lua index f1f4445..b5d7436 100644 --- a/Data/Libraries/GameLab/Editor/Window/GUIWindow.lua +++ b/Data/Libraries/GameLab/Editor/Window/GUIWindow.lua @@ -40,7 +40,7 @@ local GUIWindow = GameLab.GlobalClass("GameLab.Editor.Window.GUIWindow", functio i = i + 1 self.m_ClearColor = col[i] -end ) +end) GUIWindow.get_native = function(self) return self.m_Native @@ -127,7 +127,7 @@ end GUIWindow.ClearBackground = function(self) if Event.current.type == EEventType.Repaint then - GL.ClearColor(self.m_ClearColor) + GL.ClearColor(Color(0.16,0.16,0.16,1 )) GL.Clear(GL.EBufferType.ColorBuffer) end end -- cgit v1.1-26-g67d0