[ui] Invoke Timer:new() as a method (API update for gear.timer)

master
Lorenzo Cogotti 1 year ago
parent c52d9e1608
commit 1c713de4ff

@ -82,7 +82,7 @@ function Ui:new(args)
self.x = self.x or 0
self.y = self.y or 0
self.pointerActive = true
self.timer = Timer.new()
self.timer = Timer:new()
local root = self[1]
if not isinstance(root, Widget) then

Loading…
Cancel
Save