From 3279bd5a968111260eb3f488976a1024958dc283 Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 22 Aug 2016 18:27:26 +0200 Subject: case --- button.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/button.lua b/button.lua index de9ef56..9c33885 100644 --- a/button.lua +++ b/button.lua @@ -53,7 +53,7 @@ function Button:draw(scale) love.graphics.draw(self.sprite, self.arrow_l, (x+54+math.floor(self.delay))*scale, (y+5)*scale, 0, scale, scale) love.graphics.draw(self.sprite, self.arrow_r, (x-1-math.floor(self.delay))*scale, (y+5)*scale, 0, scale, scale) end - love.graphics.printf(string.upper(self.text), (x+2)*scale, (y+4)*scale, 54, "center", 0, scale, scale) + love.graphics.printf(self.text, (x+2)*scale, (y+4)*scale, 54, "center", 0, scale, scale) end function Button:update(dt) self.delay = self.delay + dt -- cgit v1.1