Fix orientation of track netnames.

This commit is contained in:
Alex 2022-11-16 00:43:06 +05:00
parent 8ad35604b4
commit f9bfb8534f
1 changed files with 1 additions and 1 deletions

View File

@ -665,7 +665,7 @@ void PCB_PAINTER::draw( const PCB_TRACK* aTrack, int aLayer )
}
else
{
textOrientation = EDA_ANGLE( visibleSeg.B - visibleSeg.A ) + ANGLE_90;
textOrientation = -EDA_ANGLE( visibleSeg.B - visibleSeg.A );
textOrientation.Normalize90();
double min_size = std::min( viewport.GetWidth(), viewport.GetHeight() );