From 3a5e0b395bc880bf5c8f3685e1d1cbbde4955ebc Mon Sep 17 00:00:00 2001 From: lustlion Date: Sat, 12 Mar 2022 18:28:35 +0100 Subject: [PATCH] fix indentation and cleaning --- code/ui.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/code/ui.lua b/code/ui.lua index 7810f07..f206267 100644 --- a/code/ui.lua +++ b/code/ui.lua @@ -14,13 +14,10 @@ function drawTextBox(text,x,y,style) local color = style.color or {1,1,1,1} local background_color = style.background_color or {0,0,0,1} local margin = style.margin or 5 - local rotation = style.rotation or 0 - local sx = style.sx or 1 - local sy = style.sy or style.sx local lines = 1 for i in text:gmatch("\n") do - lines = lines + 1 + lines = lines + 1 end love.graphics.setColor(unpack(color))