From 4b4beceeec138edd57f720aca55047db9aed8ca5 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Mon, 5 Jun 2017 15:46:13 -0400 Subject: [PATCH] Slight change to screen reader rectangles about tracks on Windows --- src/TrackPanelAx.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/TrackPanelAx.cpp b/src/TrackPanelAx.cpp index 4a7f95ad8..fe959da98 100644 --- a/src/TrackPanelAx.cpp +++ b/src/TrackPanelAx.cpp @@ -309,7 +309,11 @@ wxAccStatus TrackPanelAx::GetLocation( wxRect& rect, int elementId ) rect = mTrackPanel->FindTrackRect( t, false ); // Inflate the screen reader's rectangle so it overpaints Audacity's own // yellow focus rectangle. +#ifdef __WXMAC__ const int dx = 2; +#else + const int dx = 1; +#endif rect.Inflate(dx, dx); }