mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #112: Interval fix
This commit is contained in:
@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user