mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Slight change to screen reader rectangles about tracks on Windows
This commit is contained in:
@@ -309,7 +309,11 @@ wxAccStatus TrackPanelAx::GetLocation( wxRect& rect, int elementId )
|
|||||||
rect = mTrackPanel->FindTrackRect( t, false );
|
rect = mTrackPanel->FindTrackRect( t, false );
|
||||||
// Inflate the screen reader's rectangle so it overpaints Audacity's own
|
// Inflate the screen reader's rectangle so it overpaints Audacity's own
|
||||||
// yellow focus rectangle.
|
// yellow focus rectangle.
|
||||||
|
#ifdef __WXMAC__
|
||||||
const int dx = 2;
|
const int dx = 2;
|
||||||
|
#else
|
||||||
|
const int dx = 1;
|
||||||
|
#endif
|
||||||
rect.Inflate(dx, dx);
|
rect.Inflate(dx, dx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user