Rename dim_overlap -> show_overlap_enable

The new name is more intuitive.
This commit is contained in:
Tigran Aivazian
2012-10-08 14:59:32 +01:00
parent 3dd2fba241
commit 0de624a7ea
2 changed files with 9 additions and 9 deletions

View File

@@ -183,9 +183,9 @@ function CREReader:goto(pos, is_ignore_jump, pos_type)
self.doc:drawCurrentPage(self.nulldc, fb.bb)
Debug("## self.show_overlap "..self.show_overlap)
if self.show_overlap < 0 and self.dim_overlap then
if self.show_overlap < 0 and self.show_overlap_enable then
fb.bb:dimRect(0,0, width, -self.show_overlap)
elseif self.show_overlap > 0 and self.dim_overlap then
elseif self.show_overlap > 0 and self.show_overlap_enable then
fb.bb:dimRect(0,height - self.show_overlap, width, self.show_overlap)
end
self.show_overlap = 0