mirror of
https://github.com/ciromattia/kcc
synced 2026-10-12 12:32:32 +00:00
Panel View improvements
This commit is contained in:
+5
-1
@@ -52,6 +52,10 @@ def buildHTML(path, imgfile):
|
||||
rotatedPage = True
|
||||
else:
|
||||
rotatedPage = False
|
||||
if "_kccnpv" in str(filename):
|
||||
noPV = True
|
||||
else:
|
||||
noPV = False
|
||||
if "_kccnh" in str(filename):
|
||||
noHorizontalPV = True
|
||||
else:
|
||||
@@ -89,7 +93,7 @@ def buildHTML(path, imgfile):
|
||||
"<div><img src=\"", "../" * backref, "Images/", postfix, imgfile, "\" alt=\"",
|
||||
imgfile, "\" class=\"singlePage\"/></div>\n"
|
||||
])
|
||||
if options.panelview:
|
||||
if options.panelview and not noPV:
|
||||
if not noHorizontalPV and not noVerticalPV:
|
||||
if rotatedPage:
|
||||
if options.righttoleft:
|
||||
|
||||
Reference in New Issue
Block a user