add sketch and sketch item centering
This commit is contained in:
parent
522103a0a6
commit
c7fed8da3b
3 changed files with 26 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue