Commit e2046ae1 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix changing cursor position when trying to resize effect zoombar

parent c4c5cbd6
Pipeline #205807 passed with stage
in 7 minutes and 45 seconds
......@@ -350,7 +350,7 @@ void KeyframeView::mousePressEvent(QMouseEvent *event)
m_clickOffset = (double(event->x()) - m_offset) / (width() - 2 * m_offset);
}
// When not zoomed, allow seek by clicking on zoombar
if (qFuzzyCompare(m_zoomFactor, 1.) && pos != m_position) {
if (qFuzzyCompare(m_zoomFactor, 1.) && pos != m_position && !m_hoverZoomIn && !m_hoverZoomOut) {
emit seekToPos(pos);
}
return;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment