mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-05 22:59:29 +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:
parent
7108b71f5d
commit
cf1a7a849a
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user