mirror of https://github.com/JakubMelka/PDF4QT.git
Issue #112: Interval fix
This commit is contained in:
parent
4340b3dbaa
commit
2c0b462075
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue