mirror of
https://github.com/airstruck/luigi.git
synced 2025-12-19 10:26:43 +00:00
attributes only cascade when nil (not when false)
This commit is contained in:
@@ -33,7 +33,7 @@ return function (self)
|
||||
local key = event.key
|
||||
if key == 'left' or key == 'down' then
|
||||
self.value = clamp(self.value - self.step)
|
||||
elseif event.key == 'right' or key == 'up' then
|
||||
elseif key == 'right' or key == 'up' then
|
||||
self.value = clamp(self.value + self.step)
|
||||
end
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user