js-draw 1.15.0 → 1.16.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js-draw",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "description": "Draw pictures using a pen, touchscreen, or mouse! JS-draw is a drawing library for JavaScript and TypeScript. ",
5
5
  "types": "./dist/mjs/lib.d.ts",
6
6
  "main": "./dist/cjs/lib.js",
@@ -64,7 +64,7 @@
64
64
  "postpack": "ts-node tools/copyREADME.ts revert"
65
65
  },
66
66
  "dependencies": {
67
- "@js-draw/math": "^1.11.1",
67
+ "@js-draw/math": "^1.16.0",
68
68
  "@melloware/coloris": "0.22.0"
69
69
  },
70
70
  "devDependencies": {
@@ -86,5 +86,5 @@
86
86
  "freehand",
87
87
  "svg"
88
88
  ],
89
- "gitHead": "d723c028faa43c7661df54606064f6237a8a767b"
89
+ "gitHead": "b0b6d7165d76582e1c197d0f56a10bfe6b46e2bc"
90
90
  }
@@ -117,6 +117,10 @@
117
117
  // handles.
118
118
  pointer-events: all;
119
119
  }
120
+
121
+ &.-empty {
122
+ opacity: 0;
123
+ }
120
124
  }
121
125
  }
122
126