add semi-auto bbox option in page crop dialog
This commit is contained in:
1 parent
87296fe884
commit
2e5d2b9930
5 files changed
+35
-8
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user