fix dimen returned by getSize used as dimen in inputcontainer
This commit is contained in:
1 parent
9d041fd5a3
commit
394c9cf948
1 file changed
+2
-1
@@ -52,7 +52,8 @@ end
|
||||
|
||||
function InputContainer:paintTo(bb, x, y)
|
||||
if not self.dimen then
|
||||
self.dimen = self[1]:getSize()
|
||||
local content_size = self[1]:getSize()
|
||||
self.dimen = Geom:new{w = content_size.w, h = content_size.h}
|
||||
end
|
||||
self.dimen.x = x
|
||||
self.dimen.y = y
|
||||
|
||||
Reference in new issue
Block a user