mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Fix determining if we are in double page or not.
This commit is contained in:
parent
c93e86af12
commit
c97bc6ef88
@ -1187,7 +1187,7 @@ void Viewer::updateComic(ComicDB & comic)
|
|||||||
if(render->hasLoadedComic())
|
if(render->hasLoadedComic())
|
||||||
{
|
{
|
||||||
//set currentPage
|
//set currentPage
|
||||||
if(render->currentPageIsDoublePage() == false)
|
if(!doublePage || (doublePage && render->currentPageIsDoublePage() == false))
|
||||||
{
|
{
|
||||||
comic.info.currentPage = render->getIndex()+1;
|
comic.info.currentPage = render->getIndex()+1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user