Add diameter arg to arc and tangentialArc (#7247)
Both these functions previously took a `radius`. If you previously used the radius arg, you can keep using it, or you can use `diameter` instead.
This commit is contained in:
@ -1048,7 +1048,7 @@ mod tests {
|
||||
let snippet = arc_fn.to_autocomplete_snippet().unwrap();
|
||||
assert_eq!(
|
||||
snippet,
|
||||
r#"arc(${0:%}, angleStart = ${1:3.14}, angleEnd = ${2:3.14}, radius = ${3:3.14})"#
|
||||
r#"arc(${0:%}, angleStart = ${1:3.14}, angleEnd = ${2:3.14}, diameter = ${3:3.14})"#
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user