add sketch and sketch item centering

This commit is contained in:
Stewart Allen 2024-07-26 00:35:36 -04:00
commit c7fed8da3b
3 changed files with 26 additions and 4 deletions

View file

@ -256,7 +256,7 @@ const selection = {
},
centerXY() {
for (let s of selection.groups()) {
for (let s of [...selection.groups(), ...selection.sketches()]) {
s.centerXY(...arguments);
}
return selection;