Mercurial > hg > svgui
comparison view/Overview.cpp @ 792:0ba792bb235b tonioni
adding a note after the last existing one is now possible (#974)
author | matthiasm |
---|---|
date | Thu, 12 Jun 2014 14:31:48 +0100 |
parents | cf1e8a1abb7b |
children | 40c6c9344ff6 |
comparison
equal
deleted
inserted
replaced
791:b076cefaf708 | 792:0ba792bb235b |
---|---|
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, PlaybackIgnore); | 283 emit centreFrameChanged(rf, true, PlaybackScrollContinuous); |
284 } | 284 } |
285 } | 285 } |
286 | 286 |
287 void | 287 void |
288 Overview::mouseDoubleClickEvent(QMouseEvent *e) | 288 Overview::mouseDoubleClickEvent(QMouseEvent *e) |