1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-14 17:14:07 +01:00

Make drag scrub less sluggish (do less redrawing)

This commit is contained in:
Paul Licameli
2016-05-15 16:25:45 -04:00
parent df0303cdaf
commit 0602343a2d
2 changed files with 4 additions and 4 deletions

View File

@@ -517,9 +517,6 @@ void Scrubber::Forwarder::OnMouse(wxMouseEvent &event)
(event.LeftIsDown() && event.Dragging())) {
if (!scrubber.mDragging)
scrubber.mScrubSeekPress = true;
auto xx = ruler->ScreenToClient(::wxGetMousePosition()).x;
ruler->UpdateQuickPlayPos(xx);
ruler->ShowQuickPlayIndicator();
}
else if (event.m_wheelRotation) {
double steps = event.m_wheelRotation /