comparison view/Overview.cpp @ 213:df791d8c8f58

* Fix real-time plugin corruption when getLatency is called for some plugins * Other minor changes
author Chris Cannam
date Thu, 01 Mar 2007 15:35:27 +0000
parents e2baee498ec8
children 8520b7918104
comparison
equal deleted inserted replaced
212:e554ab9a4408 213:df791d8c8f58
208 if (newCentreFrame > 0) --newCentreFrame; 208 if (newCentreFrame > 0) --newCentreFrame;
209 } 209 }
210 210
211 if (std::max(m_centreFrame, newCentreFrame) - 211 if (std::max(m_centreFrame, newCentreFrame) -
212 std::min(m_centreFrame, newCentreFrame) > size_t(m_zoomLevel)) { 212 std::min(m_centreFrame, newCentreFrame) > size_t(m_zoomLevel)) {
213 emit centreFrameChanged(newCentreFrame, true, PlaybackIgnore); 213 emit centreFrameChanged(newCentreFrame, true, PlaybackScrollContinuous);
214 } 214 }
215 } 215 }
216 216
217 void 217 void
218 Overview::mouseDoubleClickEvent(QMouseEvent *e) 218 Overview::mouseDoubleClickEvent(QMouseEvent *e)
219 { 219 {
220 long frame = getFrameForX(e->x()); 220 long frame = getFrameForX(e->x());
221 emit centreFrameChanged(frame, true, PlaybackIgnore); 221 emit centreFrameChanged(frame, true, PlaybackScrollContinuous);
222 } 222 }
223 223
224 void 224 void
225 Overview::enterEvent(QEvent *) 225 Overview::enterEvent(QEvent *)
226 { 226 {