Add animation categories to enable finer transitions control (#941)
* Allow finer control over transitions * Add categories to transitions
This commit is contained in:
1 parent
b9957138ac
commit
f42dbb0060
10 files changed
+42
-50
No files matched your search
@@ -118,13 +118,13 @@ function LogView:update()
|
||||
|
||||
local expanding = self.expanding[1]
|
||||
if expanding then
|
||||
self:move_towards(expanding, "current", expanding.target)
|
||||
self:move_towards(expanding, "current", expanding.target, nil, "logview")
|
||||
if expanding.current == expanding.target then
|
||||
table.remove(self.expanding, 1)
|
||||
end
|
||||
end
|
||||
|
||||
self:move_towards("yoffset", 0)
|
||||
self:move_towards("yoffset", 0, nil, "logview")
|
||||
|
||||
LogView.super.update(self)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user