mirror of
https://github.com/YACReader/yacreader
synced 2025-07-19 05:24:57 -04:00
Fix determining if we are in double page or not.
This commit is contained in:
@ -1186,8 +1186,8 @@ void Viewer::updateComic(ComicDB & comic)
|
||||
{
|
||||
if(render->hasLoadedComic())
|
||||
{
|
||||
//set currentPage
|
||||
if(render->currentPageIsDoublePage() == false)
|
||||
//set currentPage
|
||||
if(!doublePage || (doublePage && render->currentPageIsDoublePage() == false))
|
||||
{
|
||||
comic.info.currentPage = render->getIndex()+1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user