Chore: Fix a few more widgets that were breaking dimen refs in

paintTo...
This commit is contained in:
NiLuJe
2024-01-15 20:04:28 +01:00
parent d33bb0452c
commit 3b129e2ada
6 changed files with 52 additions and 19 deletions

View File

@@ -72,7 +72,10 @@ function InputContainer:paintTo(bb, x, y)
if not self.dimen then
local content_size = self[1]:getSize()
self.dimen = Geom:new{x = x, y = y, w = content_size.w, h = content_size.h}
self.dimen = Geom:new{
x = x, y = y,
w = content_size.w, h = content_size.h
}
else
self.dimen.x = x
self.dimen.y = y