microboard-temp 0.5.65 → 0.5.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7598,6 +7598,8 @@ class Transformation {
7598
7598
  this.applyScaleBy(op.x, op.y);
7599
7599
  } else if (op.method === "translateBy") {
7600
7600
  this.applyTranslateBy(op.x, op.y);
7601
+ } else if (op.method === "translateTo") {
7602
+ this.applyTranslateTo(op.x, op.y);
7601
7603
  }
7602
7604
  }
7603
7605
  applyScaleByRelativeTo(x, y, point) {
package/dist/cjs/index.js CHANGED
@@ -7598,6 +7598,8 @@ class Transformation {
7598
7598
  this.applyScaleBy(op.x, op.y);
7599
7599
  } else if (op.method === "translateBy") {
7600
7600
  this.applyTranslateBy(op.x, op.y);
7601
+ } else if (op.method === "translateTo") {
7602
+ this.applyTranslateTo(op.x, op.y);
7601
7603
  }
7602
7604
  }
7603
7605
  applyScaleByRelativeTo(x, y, point) {
package/dist/cjs/node.js CHANGED
@@ -8635,6 +8635,8 @@ class Transformation {
8635
8635
  this.applyScaleBy(op.x, op.y);
8636
8636
  } else if (op.method === "translateBy") {
8637
8637
  this.applyTranslateBy(op.x, op.y);
8638
+ } else if (op.method === "translateTo") {
8639
+ this.applyTranslateTo(op.x, op.y);
8638
8640
  }
8639
8641
  }
8640
8642
  applyScaleByRelativeTo(x, y, point) {
@@ -7435,6 +7435,8 @@ class Transformation {
7435
7435
  this.applyScaleBy(op.x, op.y);
7436
7436
  } else if (op.method === "translateBy") {
7437
7437
  this.applyTranslateBy(op.x, op.y);
7438
+ } else if (op.method === "translateTo") {
7439
+ this.applyTranslateTo(op.x, op.y);
7438
7440
  }
7439
7441
  }
7440
7442
  applyScaleByRelativeTo(x, y, point) {
package/dist/esm/index.js CHANGED
@@ -7428,6 +7428,8 @@ class Transformation {
7428
7428
  this.applyScaleBy(op.x, op.y);
7429
7429
  } else if (op.method === "translateBy") {
7430
7430
  this.applyTranslateBy(op.x, op.y);
7431
+ } else if (op.method === "translateTo") {
7432
+ this.applyTranslateTo(op.x, op.y);
7431
7433
  }
7432
7434
  }
7433
7435
  applyScaleByRelativeTo(x, y, point) {
package/dist/esm/node.js CHANGED
@@ -8212,6 +8212,8 @@ class Transformation {
8212
8212
  this.applyScaleBy(op.x, op.y);
8213
8213
  } else if (op.method === "translateBy") {
8214
8214
  this.applyTranslateBy(op.x, op.y);
8215
+ } else if (op.method === "translateTo") {
8216
+ this.applyTranslateTo(op.x, op.y);
8215
8217
  }
8216
8218
  }
8217
8219
  applyScaleByRelativeTo(x, y, point) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.5.65",
3
+ "version": "0.5.66",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",