mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Widgets: Fix a bunch of regressions after the FrameContainer change in #11364
FrameContainer now preserves its self.dimen, which means it cannot be shared with another widget or container that might also modify it during painting ;). Fix #11370 Fix https://github.com/koreader/koreader/pull/11364#issuecomment-1894454657 Fix #11379
This commit is contained in:
@@ -119,9 +119,6 @@ function ProgressWidget:paintTo(bb, x, y)
|
||||
else
|
||||
self.dimen.x = x
|
||||
self.dimen.y = y
|
||||
-- Possibly redundant
|
||||
self.dimen.w = my_size.w
|
||||
self.dimen.h = my_size.h
|
||||
end
|
||||
if self.dimen.w == 0 or self.dimen.h == 0 then return end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user