dont round % and default to start of chapter not end

This commit is contained in:
Justin Mitchell
2026-01-13 03:53:45 -05:00
parent 0620a46429
commit f36d89cd18
5 changed files with 32 additions and 34 deletions

View File

@@ -60,5 +60,5 @@ class Epub {
int getSpineIndexForTextReference() const;
size_t getBookSize() const;
uint8_t calculateProgress(int currentSpineIndex, float currentSpineRead) const;
float calculateProgress(int currentSpineIndex, float currentSpineRead) const;
};