Fixed animation

Fixed eventsystem not registering its parent events
This commit is contained in:
Robert Jelic
2025-04-14 02:39:54 +02:00
parent bd62debc32
commit b91031afbc
28 changed files with 30 additions and 4 deletions

View File

@@ -18,6 +18,7 @@ Switch.defineEvent(Switch, "mouse_up")
--- @private
function Switch.new()
local self = setmetatable({}, Switch):__init()
self.class = Switch
self.set("width", 2)
self.set("height", 1)
self.set("z", 5)