1
0
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:
james.k.crook@gmail.com 2014-12-22 15:10:14 +00:00
parent 7108b71f5d
commit cf1a7a849a

View File

@ -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 {