Chore: Review FrameContainer constructors for shared dimen objects

Nothing else seems problematic, this is mostly just cosmetic sanitization
around Geom objects.
This commit is contained in:
NiLuJe
2024-01-17 02:19:37 +01:00
parent 65e22ceafc
commit 90ae4acca6
11 changed files with 24 additions and 11 deletions

View File

@@ -35,7 +35,12 @@ local Geom = {
}
function Geom:new(o)
if not o then o = {} end
if not o then
o = {
x = 0, y = 0,
w = 0, h = 0,
}
end
setmetatable(o, self)
self.__index = self
return o