mirror of
https://github.com/celogeek/go-comic-converter.git
synced 2025-05-25 08:12:36 +02:00
fix space require detection
This commit is contained in:
parent
e8613b0cce
commit
1119101f65
@ -185,7 +185,7 @@ func getSpine(o *ContentOptions) []tag {
|
|||||||
{"itemref", tagAttrs{"idref": "page_title", "properties": getSpread(false)}, ""},
|
{"itemref", tagAttrs{"idref": "page_title", "properties": getSpread(false)}, ""},
|
||||||
}
|
}
|
||||||
for _, img := range o.Images {
|
for _, img := range o.Images {
|
||||||
if img.DoublePage && isOnTheRight {
|
if img.DoublePage && o.ImageOptions.Manga == isOnTheRight {
|
||||||
spine = append(spine, tag{
|
spine = append(spine, tag{
|
||||||
"itemref",
|
"itemref",
|
||||||
tagAttrs{"idref": img.SpaceKey(), "properties": getSpread(false) + " layout-blank"},
|
tagAttrs{"idref": img.SpaceKey(), "properties": getSpread(false) + " layout-blank"},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user