Various improvements

This commit is contained in:
barsdeveloper
2022-02-13 23:04:07 +01:00
parent 7cf556d89d
commit a0fcc23e31
16 changed files with 355 additions and 92 deletions

View File

@@ -260,6 +260,8 @@ export default class Blueprint extends GraphElement {
if (center) {
center[0] += this.translateValue[0]
center[1] += this.translateValue[1]
let relativeScale = this.getScale() / initialScale
let newCenter = [
relativeScale * center[0],