changing arg execution order for sketch arc

This commit is contained in:
arnav
2024-10-18 17:31:18 -07:00
parent c42967d0e7
commit fcb371f227

View File

@ -1499,7 +1499,7 @@ pub(crate) async fn inner_arc(
(center, a_start, a_end, *radius, end)
}
ArcData::CenterToRadius { center, to, radius } => {
let (angle_start, angle_end) = arc_angles(from, center.into(), to.into(), *radius, args.source_range)?;
let (angle_start, angle_end) = arc_angles(from, to.into(), center.into(), *radius, args.source_range)?;
(center.into(), angle_start, angle_end, *radius, to.into())
}
};