mirror of
https://github.com/Insality/druid
synced 2025-11-26 19:00:52 +01:00
Update docs, config generations, fix linter
This commit is contained in:
@@ -151,6 +151,8 @@ function Slider.on_input(self, action_id, action)
|
||||
self.value = (self.target_pos.y - self.start_pos.y) / self.dist.y
|
||||
end
|
||||
|
||||
self.value = math.abs(self.value)
|
||||
|
||||
if self.steps then
|
||||
local closest_dist = 1000
|
||||
local closest = nil
|
||||
|
||||
Reference in New Issue
Block a user