1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-16 14:13:53 +01:00

Bug1416, again: Time ruler should not steal focus when clicked

This commit is contained in:
Paul Licameli
2016-06-28 16:50:29 -04:00
parent 341c01b256
commit 10f77bc763

View File

@@ -2333,10 +2333,6 @@ bool AdornedRulerPanel::IsWithinMarker(int mousePosX, double markerTime)
void AdornedRulerPanel::OnMouseEvents(wxMouseEvent &evt)
{
// PRL: why do I need these two lines on Windows but not on Mac?
if (evt.ButtonDown(wxMOUSE_BTN_ANY))
SetFocus();
// Disable mouse actions on Timeline while recording.
if (mIsRecording) {
if (HasCapture())