1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 16:43:33 +02:00

Bug1931 -- Dbl-click ruler in Windows shouldn't violate assertion...

... This change isn't needed for Mac, but is harmless there.
This commit is contained in:
Paul Licameli
2018-08-12 14:14:28 -04:00
parent 835abd9be3
commit 04a69f0a4c

View File

@@ -2096,7 +2096,7 @@ protected:
Result Click
(const TrackPanelMouseEvent &event, AudacityProject *) override
{
mClicked = event.event.LeftDown() ? Button::Left : Button::Right;
mClicked = event.event.LeftIsDown() ? Button::Left : Button::Right;
return RefreshCode::DrawOverlays;
}