From 8be26473eabdeb2dcfe93f82bdec9f87853488dd Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Tue, 15 Jan 2019 06:30:26 +0100 Subject: [PATCH] fixed ui resizing bug --- citizen.pde | 1 + 1 file changed, 1 insertion(+) diff --git a/citizen.pde b/citizen.pde index b4a1c3f..4ec46ec 100644 --- a/citizen.pde +++ b/citizen.pde @@ -48,6 +48,7 @@ void pre() { // Sketch window has resized i_windowW = width; i_windowH = height; + i_uiY = height - i_uiH; i_uiW = width; i_uiH = height - i_uiY; }