diff options
author | Aki <nthirtyone@gmail.com> | 2018-04-08 15:20:58 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2018-04-08 15:20:58 +0200 |
commit | ea62ce8ec8ae07ff6d421b4146d2503ef0f67574 (patch) | |
tree | b0adc2b1735d103e55aed7bdd0c462b2ea5e359f /not/Button.lua | |
parent | 08271656cbe18fbc4432fc758ac42750e818da84 (diff) | |
parent | 290d75dceb905217cb67fcb32e95dbeb45e27e3c (diff) | |
download | roflnauts-ea62ce8ec8ae07ff6d421b4146d2503ef0f67574.zip roflnauts-ea62ce8ec8ae07ff6d421b4146d2503ef0f67574.tar.gz roflnauts-ea62ce8ec8ae07ff6d421b4146d2503ef0f67574.tar.bz2 |
Merge branch 'love-11.0' into control
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 |