Mercurial > hg > svgui
comparison view/Overview.cpp @ 788:cf1e8a1abb7b tonioni
Play pointer: don't move it when dragging overview pane
author | Chris Cannam |
---|---|
date | Thu, 12 Jun 2014 12:27:41 +0100 |
parents | 1a0dfcbffaf1 |
children | 0ba792bb235b |
comparison
equal
deleted
inserted
replaced
787:b4acab502786 | 788:cf1e8a1abb7b |
---|---|
278 std::min(m_centreFrame, newCentreFrame) > size_t(m_zoomLevel)) { | 278 std::min(m_centreFrame, newCentreFrame) > size_t(m_zoomLevel)) { |
279 size_t rf = alignToReference(newCentreFrame); | 279 size_t rf = alignToReference(newCentreFrame); |
280 #ifdef DEBUG_OVERVIEW | 280 #ifdef DEBUG_OVERVIEW |
281 cerr << "Overview::mouseMoveEvent: x " << e->x() << " and click x " << m_clickPos.x() << " -> frame " << newCentreFrame << " -> rf " << rf << endl; | 281 cerr << "Overview::mouseMoveEvent: x " << e->x() << " and click x " << m_clickPos.x() << " -> frame " << newCentreFrame << " -> rf " << rf << endl; |
282 #endif | 282 #endif |
283 emit centreFrameChanged(rf, true, PlaybackScrollContinuous); | 283 emit centreFrameChanged(rf, true, PlaybackIgnore); |
284 } | 284 } |
285 } | 285 } |
286 | 286 |
287 void | 287 void |
288 Overview::mouseDoubleClickEvent(QMouseEvent *e) | 288 Overview::mouseDoubleClickEvent(QMouseEvent *e) |