fix nil dimen bug in InputContainer:init

This commit is contained in:
Qingping Hou
2013-01-04 03:15:56 -05:00
parent 06444e3420
commit c0602fba95

View File

@@ -611,6 +611,10 @@ function InputContainer:_init()
end
end
self.ges_events = new_ges_events
if not self.dimen then
self.dimen = Geom:new{}
end
end
function InputContainer:paintTo(bb, x, y)