From 1c713de4fffc43e624ee4a2db1db2cc6ae3c85a8 Mon Sep 17 00:00:00 2001 From: Lorenzo Cogotti Date: Tue, 19 Sep 2023 18:18:51 +0200 Subject: [PATCH] [ui] Invoke Timer:new() as a method (API update for gear.timer) --- ui.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui.lua b/ui.lua index 3a810f0..ac961a0 100644 --- a/ui.lua +++ b/ui.lua @@ -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