Make middle-click-drag on the audio display continue to update the video position

Originally committed to SVN as r6177.
This commit is contained in:
Thomas Goyne 2011-12-28 21:26:41 +00:00
parent 4b2e5d1b93
commit 88ba844850

View file

@ -1180,7 +1180,7 @@ void AudioDisplay::OnMouseEvent(wxMouseEvent& event)
}
}
if (event.MiddleDown())
if (event.MiddleIsDown())
{
context->videoController->JumpToTime(
controller->MillisecondsFromSamples(SamplesFromRelativeX(mousepos.x)),