diff options
author | Aki <nthirtyone@gmail.com> | 2016-08-22 18:27:26 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-08-22 18:27:26 +0200 |
commit | 3279bd5a968111260eb3f488976a1024958dc283 (patch) | |
tree | 7853461331aaaef0a644434582ac866b84159a87 /button.lua | |
parent | 213c783bdde0fe5bf9709e19168a8e5049c7b13a (diff) | |
download | roflnauts-3279bd5a968111260eb3f488976a1024958dc283.zip roflnauts-3279bd5a968111260eb3f488976a1024958dc283.tar.gz roflnauts-3279bd5a968111260eb3f488976a1024958dc283.tar.bz2 |
case
Diffstat (limited to 'button.lua')
-rw-r--r-- | button.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |