summaryrefslogtreecommitdiff
path: root/Data/Scripts/Editor/AssetBrowser.lua
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-11-04 13:49:05 +0800
committerchai <chaifix@163.com>2021-11-04 13:49:05 +0800
commitd7c051cecf0db9056e94d5e80146aa0b066e606b (patch)
treeda7a96046faa3323d1171d782164d3aae50ce322 /Data/Scripts/Editor/AssetBrowser.lua
parentd24f17b88d901b779c81c7434995675eb2a17429 (diff)
*text alignment
Diffstat (limited to 'Data/Scripts/Editor/AssetBrowser.lua')
-rw-r--r--Data/Scripts/Editor/AssetBrowser.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/Data/Scripts/Editor/AssetBrowser.lua b/Data/Scripts/Editor/AssetBrowser.lua
index 7a41e85..377aa8e 100644
--- a/Data/Scripts/Editor/AssetBrowser.lua
+++ b/Data/Scripts/Editor/AssetBrowser.lua
@@ -35,7 +35,7 @@ AssetBrowser.OnGUI = function(self)
Engine.Rendering.UseShader(shader)
Engine.Rendering.SetMatrix44("gamelab_mat_mvp", ortho)
- Engine.Rendering.SetVector2("gamelab_ui_position", {0, 100})
+ Engine.Rendering.SetVector2("gamelab_ui_position", {0, 0})
--Engine.Rendering.SetTexture("gamelab_main_tex", tex)
--Engine.Rendering.DrawUIQuad({0, 0, 200, 200})
_G["default_font"]:GetCharacters("你好世界!\nHello,World!\nProject Window Properties", 12)