1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-07 15:49:42 +02:00

Slight change to screen reader rectangles about tracks on Windows

This commit is contained in:
Paul Licameli 2017-06-05 15:46:13 -04:00
parent 71b63843a7
commit 4b4beceeec

View File

@ -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);
}