mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 08:33:36 +02:00
Fixed problem where clicking on recording meter menu drop-down could also toggle monitoring on/off state.
The code was using Evt.LeftIsDown() so movement (with the mouse down) could toggle state. Changed to only respond on the down event, i.e. Evt.LeftDown().
This commit is contained in:
@@ -482,7 +482,7 @@ void Meter::OnMouse(wxMouseEvent &evt)
|
||||
PopupMenu(menu, mMenuRect.x + 1, mMenuRect.y + mMenuRect.height + 1);
|
||||
delete menu;
|
||||
}
|
||||
else if (evt.LeftIsDown()) {
|
||||
else if (evt.LeftDown()) {
|
||||
if (mIsInput)
|
||||
StartMonitoring();
|
||||
else {
|
||||
|
Reference in New Issue
Block a user