fix history book positions

This commit is contained in:
Agel committed 2026-04-17 12:28:03 +02:00
1 parent f80fefa34f
commit 8879fa9aba
5 files changed
+9 -1

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ qreal ReadingModel::totalPixelHeight() const { return m_totalPixelHeight; }
double ReadingModel::progress() const
{
return qBound(0, static_cast<int>(m_yOffset * 100), 100);
return qBound(0.0, m_yOffset, 1.0);
}
int ReadingModel::currentPage() const { return m_currentPage; }