fix history book positions
This commit is contained in:
5 files changed
+9
-1
No files matched your search
@@ -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; }
|
||||
|
||||
Reference in new issue
Block a user