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:
@@ -2333,10 +2333,6 @@ bool AdornedRulerPanel::IsWithinMarker(int mousePosX, double markerTime)
|
|||||||
|
|
||||||
void AdornedRulerPanel::OnMouseEvents(wxMouseEvent &evt)
|
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.
|
// Disable mouse actions on Timeline while recording.
|
||||||
if (mIsRecording) {
|
if (mIsRecording) {
|
||||||
if (HasCapture())
|
if (HasCapture())
|
||||||
|
|||||||
Reference in New Issue
Block a user