disable reflow options when reflow is not ON

This should also fix #1061.
This commit is contained in:
chrox
2015-03-16 21:49:53 +08:00
parent dac9c85c3b
commit 72012e97e1
4 changed files with 69 additions and 21 deletions

View File

@@ -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