diff options
author | Aki <nthirtyone@gmail.com> | 2018-04-09 21:30:11 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2018-04-09 21:30:11 +0200 |
commit | fa4409cedb322bbd41722f22308f399979fc6676 (patch) | |
tree | a7cc4725b003c1932ad88f4fce8548d43605bf9b /not/Button.lua | |
parent | 96f6ebdaf06650a35dcdb6a1fc3f472b3aab6d8a (diff) | |
parent | 290d75dceb905217cb67fcb32e95dbeb45e27e3c (diff) | |
download | roflnauts-fa4409cedb322bbd41722f22308f399979fc6676.zip roflnauts-fa4409cedb322bbd41722f22308f399979fc6676.tar.gz roflnauts-fa4409cedb322bbd41722f22308f399979fc6676.tar.bz2 |
Love2D version 0.10.2 -> 11.0
Diffstat (limited to 'not/Button.lua')
-rw-r--r-- | not/Button.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/not/Button.lua b/not/Button.lua index 3493a84..72823d6 100644 --- a/not/Button.lua +++ b/not/Button.lua @@ -42,9 +42,9 @@ function Button:draw (scale) local quad = self.quads local sprite = self.sprite if self:isEnabled() then - love.graphics.setColor(255, 255, 255, 255) + love.graphics.setColor(1, 1, 1, 1) else - love.graphics.setColor(140, 140, 140, 255) + love.graphics.setColor(.6, .6, .6, 1) end love.graphics.draw(sprite, quad.button.normal, x*scale, y*scale, 0, scale, scale) if self.focused then |