From fe8341263a72309fabbe29d0dab521a0e16c9120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ritzl?= Date: Wed, 29 Mar 2023 09:20:37 +0200 Subject: [PATCH] Update gui.lua --- monarch/transitions/gui.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/monarch/transitions/gui.lua b/monarch/transitions/gui.lua index e7eb3a6..12bb0e8 100644 --- a/monarch/transitions/gui.lua +++ b/monarch/transitions/gui.lua @@ -20,10 +20,10 @@ local LAYOUT_CHANGED = hash("layout_changed") function M.window_resized(width, height) WIDTH = width HEIGHT = height - LEFT = vmath.vector3(-WIDTH * 2, 0, 0) - RIGHT = vmath.vector3(WIDTH * 2, 0, 0) - TOP = vmath.vector3(0, HEIGHT * 2, 0) - BOTTOM = vmath.vector3(0, - HEIGHT * 2, 0) + LEFT = vmath.vector3(-WIDTH, 0, 0) + RIGHT = vmath.vector3(WIDTH, 0, 0) + TOP = vmath.vector3(0, HEIGHT, 0) + BOTTOM = vmath.vector3(0, - HEIGHT, 0) end M.window_resized(tonumber(sys.get_config("display.width")), tonumber(sys.get_config("display.height")))