mirror of
https://github.com/YACReader/yacreader
synced 2025-11-15 06:22:49 -05:00
Fix determining if we are in double page or not.
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user