mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Chore: Fix a few more widgets that were breaking dimen refs in
paintTo...
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user