add semi-auto bbox option in page crop dialog

This commit is contained in:
chrox committed 2013-07-13 11:18:49 +08:00
1 parent 87296fe884
commit 2e5d2b9930
5 files changed
+35 -8

No files matched your search

+1 -1
View File
@@ -87,7 +87,7 @@ function DjvuDocument:invertTextYAxel(pageno, text_table)
end
function DjvuDocument:getPageBBox(pageno)
if self.configurable.text_wrap ~= 1 and self.configurable.trim_page == 1 then
if self.configurable.text_wrap ~= 1 and self.configurable.trim_page > 0 then
return self.koptinterface:getAutoBBox(self, pageno)
else
return Document.getPageBBox(self, pageno)