1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-01 08:29:27 +02:00
This commit is contained in:
Paul Licameli 2017-06-17 11:45:42 -04:00
parent 4264406795
commit 293abceb52

View File

@ -1494,13 +1494,12 @@ try
} }
else if ( event.GetEventType() == wxEVT_MOTION ) else if ( event.GetEventType() == wxEVT_MOTION )
// Update status message and cursor, not during drag // Update status message and cursor, not during drag
// (consider it not a drag, even if button is down during motion, if // consider it not a drag, even if button is down during motion, if
// mUIHandle is null, as it becomes during interrupted drag // mUIHandle is null, as it becomes during interrupted drag
// (e.g. by hitting space to play while dragging an envelope point) // (e.g. by hitting space to play while dragging an envelope point)
HandleCursor( &event ); HandleCursor( &event );
else if ( event.ButtonDown() || event.ButtonDClick() ) { else if ( event.ButtonDown() || event.ButtonDClick() )
HandleClick( tpmEvent ); HandleClick( tpmEvent );
}
if (event.ButtonDown() && IsMouseCaptured()) { if (event.ButtonDown() && IsMouseCaptured()) {
if (!HasCapture()) if (!HasCapture())