mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
disable reflow options when reflow is not ON
This should also fix #1061.
This commit is contained in:
@@ -57,6 +57,11 @@ function FrameContainer:paintTo(bb, x, y)
|
||||
container_width - 2*self.bordersize,
|
||||
container_height - 2*self.bordersize)
|
||||
end
|
||||
if self.dim then
|
||||
bb:dimRect(x + self.bordersize, y + self.bordersize,
|
||||
container_width - 2*self.bordersize,
|
||||
container_height - 2*self.bordersize)
|
||||
end
|
||||
end
|
||||
|
||||
return FrameContainer
|
||||
|
||||
Reference in New Issue
Block a user