Lots of fixes and improvements
This commit is contained in:
Robert Jelic
2025-02-16 14:33:07 +01:00
parent 19edc4b295
commit cc7b2de51a
27 changed files with 198 additions and 208 deletions

View File

@@ -75,9 +75,8 @@ local max, min = math.max, math.min
--- @param basalt table The basalt instance
--- @return VisualElement object The newly created VisualElement instance
--- @usage local element = VisualElement.new("myId", basalt)
function VisualElement.new(props, basalt)
function VisualElement.new()
local self = setmetatable({}, VisualElement):__init()
self:init(props, basalt)
return self
end