mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-01 08:29:27 +02:00
comment
This commit is contained in:
parent
4264406795
commit
293abceb52
@ -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())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user