diff --git a/.gitignore b/.gitignore index 4b46c148..96be3276 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ subprojects/reproc lite error.txt .ccls-cache +compile_commands.json diff --git a/data/core/view.lua b/data/core/view.lua index 2fb431d6..24c84c8d 100644 --- a/data/core/view.lua +++ b/data/core/view.lua @@ -18,7 +18,7 @@ end function View:move_towards(t, k, dest, rate) if type(t) ~= "table" then - return self:move_towards(self, t, k, dest, rate) + return self:move_towards(t, k, dest, rate) end local val = t[k] if not config.transitions or math.abs(val - dest) < 0.5 then