@inweb/markup 25.9.6 → 25.9.7

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inweb/markup",
3
- "version": "25.9.6",
3
+ "version": "25.9.7",
4
4
  "description": "JavaScript 2D markups",
5
5
  "homepage": "https://cloud.opendesign.com/docs/index.html",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -26,8 +26,8 @@
26
26
  "docs": "typedoc"
27
27
  },
28
28
  "dependencies": {
29
- "@inweb/eventemitter2": "~25.9.6",
30
- "@inweb/viewer-core": "~25.9.6"
29
+ "@inweb/eventemitter2": "~25.9.7",
30
+ "@inweb/viewer-core": "~25.9.7"
31
31
  },
32
32
  "devDependencies": {
33
33
  "konva": "^9.3.14"
@@ -233,7 +233,7 @@ export class KonvaMarkup implements IMarkup {
233
233
  };
234
234
 
235
235
  // how to scale? Zoom in? Or zoom out?
236
- let direction = event.data > 0 ? 1 : -1;
236
+ const direction = event.data > 0 ? 1 : -1;
237
237
 
238
238
  const newScale = direction > 0 ? oldScale * event.data : oldScale / event.data;
239
239