@hatiolab/things-scene 2.7.17 → 2.7.18

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": "@hatiolab/things-scene",
3
- "version": "2.7.17",
3
+ "version": "2.7.18",
4
4
  "description": "2D graphic library",
5
5
  "main": "src/index.js",
6
6
  "module": "things-scene.mjs",
package/things-scene.d.ts CHANGED
@@ -1,11 +1,9 @@
1
1
  declare module '@hatiolab/things-scene' {
2
2
  type Constructor<T = {}> = new (...args: any[]) => T
3
3
 
4
- enum SCENE_MODE {
5
- MODE_VIEW = 0,
6
- MODE_EDIT = 1,
7
- MODE_SHIFT = 2
8
- }
4
+ const MODE_VIEW = 0
5
+ const MODE_EDIT = 1
6
+ const MODE_SHIFT = 2
9
7
 
10
8
  type FITMODE = 'both' | 'ratio' | 'width' | 'height' | 'center' | 'none'
11
9
  type DIMENSION = { x: number; y: number }