mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-14 08:36:27 +01:00
Avoid assertions if you hit R while dragging in the ruler, then left click again
This commit is contained in:
@@ -2109,8 +2109,11 @@ bool AdornedRulerPanel::IsWithinMarker(int mousePosX, double markerTime)
|
||||
void AdornedRulerPanel::OnMouseEvents(wxMouseEvent &evt)
|
||||
{
|
||||
// Disable mouse actions on Timeline while recording.
|
||||
if (mIsRecording)
|
||||
if (mIsRecording) {
|
||||
if (HasCapture())
|
||||
ReleaseMouse();
|
||||
return;
|
||||
}
|
||||
|
||||
const bool inScrubZone =
|
||||
// only if scrubbing is allowed now
|
||||
|
||||
Reference in New Issue
Block a user