mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-16 15:57:52 +01:00
Fix misbehavior of toolbars after click without drag on a grabber...
... only lately introduced at b3c8f5db3d
This commit is contained in:
@@ -835,13 +835,8 @@ void ToolDock::OnGrabber( GrabberEvent & event )
|
||||
{
|
||||
// auto pos = event.GetPosition();
|
||||
if (!event.IsEscaping()) {
|
||||
ToolBar *t = mBars[ event.GetId() ];
|
||||
|
||||
// Pass it on to the manager since it isn't in the handling hierarchy
|
||||
mManager->ProcessEvent( event );
|
||||
|
||||
// We no longer have control
|
||||
mConfiguration.Remove( t );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user