mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 04:54:29 -04:00
Add support for detecting manga issues in YACReader
When an issues is open from YACReaderLibrary we can check if it is a manga an update the UI to enable manga reading. This also fixes going previous/next from the ui/shortcuts
This commit is contained in:
@ -1028,6 +1028,15 @@ void Render::doublePageSwitch()
|
||||
}
|
||||
}
|
||||
|
||||
void Render::setManga(bool manga)
|
||||
{
|
||||
doubleMangaPage = manga;
|
||||
if (comic && doublePage) {
|
||||
//invalidate();
|
||||
update();
|
||||
}
|
||||
}
|
||||
|
||||
void Render::doubleMangaPageSwitch()
|
||||
{
|
||||
doubleMangaPage = !doubleMangaPage;
|
||||
|
Reference in New Issue
Block a user