Fixes inverted Y position in pin table.
Fixes https://gitlab.com/kicad/code/kicad/issues/11988
This commit is contained in:
parent
856f7cb29f
commit
3389e456b1
|
@ -194,7 +194,7 @@ public:
|
|||
break;
|
||||
|
||||
case COL_POSY:
|
||||
val = StringFromValue( aUserUnits, pin->GetPosition().y, true );
|
||||
val = StringFromValue( aUserUnits, -pin->GetPosition().y, true );
|
||||
break;
|
||||
|
||||
case COL_VISIBLE:
|
||||
|
@ -365,7 +365,7 @@ public:
|
|||
|
||||
case COL_POSY:
|
||||
pin->SetPosition( wxPoint( pin->GetPosition().x,
|
||||
ValueFromString( m_frame->GetUserUnits(), aValue ) ) );
|
||||
-ValueFromString( m_frame->GetUserUnits(), aValue ) ) );
|
||||
break;
|
||||
|
||||
case COL_VISIBLE:
|
||||
|
|
Loading…
Reference in New Issue