Fix orientation of track netnames.
This commit is contained in:
parent
8ad35604b4
commit
f9bfb8534f
|
@ -665,7 +665,7 @@ void PCB_PAINTER::draw( const PCB_TRACK* aTrack, int aLayer )
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
textOrientation = EDA_ANGLE( visibleSeg.B - visibleSeg.A ) + ANGLE_90;
|
textOrientation = -EDA_ANGLE( visibleSeg.B - visibleSeg.A );
|
||||||
textOrientation.Normalize90();
|
textOrientation.Normalize90();
|
||||||
|
|
||||||
double min_size = std::min( viewport.GetWidth(), viewport.GetHeight() );
|
double min_size = std::min( viewport.GetWidth(), viewport.GetHeight() );
|
||||||
|
|
Loading…
Reference in New Issue