mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-11 09:31:13 +02:00
Partial fix for bug 802.
This commit is contained in:
parent
00af97edd6
commit
86a71bd71b
@ -1723,6 +1723,12 @@ bool AdornedRulerPanel::IsWithinMarker(int mousePosX, double markerTime)
|
||||
|
||||
void AdornedRulerPanel::OnMouseEvents(wxMouseEvent &evt)
|
||||
{
|
||||
// Prevent accidentally stopping recording.
|
||||
if (GetActiveProject()->GetControlToolBar()->IsRecordDown()) {
|
||||
SetCursor(wxCursor(wxCURSOR_DEFAULT));
|
||||
return;
|
||||
}
|
||||
|
||||
bool isWithinStart = IsWithinMarker(evt.GetX(), mPlayRegionStart);
|
||||
bool isWithinEnd = IsWithinMarker(evt.GetX(), mPlayRegionEnd);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user