From 63d90193f50f5fec561f725d8bda1fcb7ad6c3b8 Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 23 Aug 2016 18:15:29 +0200 Subject: just in case --- button.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/button.lua b/button.lua index 9c33885..d7caf74 100644 --- a/button.lua +++ b/button.lua @@ -53,6 +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.setFont(Font) love.graphics.printf(self.text, (x+2)*scale, (y+4)*scale, 54, "center", 0, scale, scale) end function Button:update(dt) -- cgit v1.1