add snapping to most sliders

this will add a bit of impercision, but will be better for both the user and the internals
This commit is contained in:
jill 2021-09-19 15:07:12 +03:00
parent 15316b918f
commit f9cf276952

View file

@ -48,6 +48,7 @@ function self.createSliders()
default = 0.5,
name = 'mix',
displayname = 'Mix',
snap = 0.01,
tooltip = 'The point at which the first ease snaps into the second one'
})
end
@ -82,7 +83,8 @@ function self.createSliders()
max = v.max,
default = v.default,
name = ease1.name .. 'param1' .. i,
displayname = 'Parameter ' .. v.name
displayname = 'Parameter ' .. v.name,
snap = 0.001
})
end
end
@ -96,7 +98,8 @@ function self.createSliders()
max = v.max,
default = v.default,
name = ease2.name .. 'param2' .. i,
displayname = 'Parameter ' .. v.name
displayname = 'Parameter ' .. v.name,
snap = 0.001
})
end
end