Pcbnew: fix mistaken angle int cast in arc properties

This commit is contained in:
John Beard 2025-08-04 16:37:26 +08:00
parent 6eb68aaf6e
commit 2b69e118e0

View File

@ -493,7 +493,7 @@ public:
{
const VECTOR2I center{ GetIntValue( CSA_CENTER_X ), GetIntValue( CSA_CENTER_Y ) };
const VECTOR2I start{ GetIntValue( CSA_START_X ), GetIntValue( CSA_START_Y ) };
const EDA_ANGLE angle( GetIntValue( CSA_ANGLE ), DEGREES_T );
const EDA_ANGLE angle{ GetAngleValue( CSA_ANGLE ) };
GetShape().SetCenter( center );
GetShape().SetStart( start );