Issue #112: Interval fix

This commit is contained in:
Jakub Melka 2023-12-10 13:55:35 +01:00
parent 4340b3dbaa
commit 2c0b462075
1 changed files with 1 additions and 0 deletions

View File

@ -432,6 +432,7 @@ void PDFDrawWidgetBase<BaseWidget>::mousePressEvent(QMouseEvent* event)
m_autoScrollLastElapsedTimer.restart();
m_autoScrollOffset = QPointF(0.0, 0.0);
m_lastMousePosition = event->pos();
m_autoScrollTimer.setInterval(10);
m_autoScrollTimer.start();
}
}