Merge branch 'dev' of github.com:lite-xl/lite-xl into process-refactor
This commit is contained in:
commit
31a86d9452
|
@ -18,7 +18,7 @@ end
|
||||||
|
|
||||||
function View:move_towards(t, k, dest, rate)
|
function View:move_towards(t, k, dest, rate)
|
||||||
if type(t) ~= "table" then
|
if type(t) ~= "table" then
|
||||||
return self:move_towards(t, k, dest, rate)
|
return self:move_towards(self, t, k, dest, rate)
|
||||||
end
|
end
|
||||||
local val = t[k]
|
local val = t[k]
|
||||||
if not config.transitions or math.abs(val - dest) < 0.5 then
|
if not config.transitions or math.abs(val - dest) < 0.5 then
|
||||||
|
|
Loading…
Reference in New Issue