Mirror pad numbers when appropriate.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20459
This commit is contained in:
Jeff Young
2025-03-27 23:28:30 +00:00
parent 659c783e5e
commit 151cb01795
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -121,6 +121,8 @@ void BRDITEMS_PLOTTER::PlotPadNumber( const PAD* aPad, const COLOR4D& aColor )
TEXT_ATTRIBUTES textAttrs;
textAttrs.m_Mirrored = m_plotter->GetPlotMirrored();
if( padsize.x < ( padsize.y * 0.95 ) )
{
textAttrs.m_Angle = ANGLE_90;