mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Send the cover size ratio in the comic info json.
This commit is contained in:
parent
fd4e2ebcb0
commit
177e3ea3ba
@ -35,6 +35,7 @@ QJsonObject YACReaderServerDataHelper::comicToJSON(const qulonglong libraryId, c
|
||||
json["current_page"] = comic.info.currentPage;
|
||||
json["num_pages"] = comic.info.numPages.toInt();
|
||||
json["read"] = comic.info.read;
|
||||
json["cover_size_ratio"] = comic.info.coverSizeRatio.toFloat();
|
||||
|
||||
return json;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user