mirror of
https://github.com/airstruck/luigi.git
synced 2025-12-19 02:16:43 +00:00
merge window into layout
This commit is contained in:
@@ -16,7 +16,6 @@ function Slider:constructor(layout, data)
|
||||
position = (event.x - x1) / (x2 - x1)
|
||||
if position < 0 then position = 0 end
|
||||
if position > 1 then position = 1 end
|
||||
self:update()
|
||||
end)
|
||||
|
||||
self:onDisplay(function(event)
|
||||
|
||||
Reference in New Issue
Block a user