mirror of
https://github.com/celogeek/go-comic-converter.git
synced 2025-05-24 15:52:38 +02:00
handle double page as cover if split and not keeped
This commit is contained in:
parent
2755aae487
commit
291c8983a4
@ -214,7 +214,7 @@ func (e EPUB) getParts() (parts []epubPart, imgStorage epubzip.StorageImageReade
|
||||
|
||||
parts = make([]epubPart, 0)
|
||||
cover := images[0]
|
||||
if e.Image.HasCover {
|
||||
if e.Image.HasCover || (cover.DoublePage && !e.Image.KeepDoublePageIfSplit) {
|
||||
images = images[1:]
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user