abcjs 6.1.5 → 6.1.6
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/RELEASE.md +6 -0
- package/dist/abcjs-basic-min.js +2 -2
- package/dist/abcjs-basic.js +3 -3
- package/dist/abcjs-basic.js.map +1 -1
- package/dist/abcjs-plugin-min.js +2 -2
- package/package.json +1 -1
- package/src/write/selection.js +2 -2
- package/version.js +1 -1
package/dist/abcjs-basic.js
CHANGED
|
@@ -28060,7 +28060,7 @@ function getCoord(ev) {
|
|
|
28060
28060
|
var yOffset = 0; // when renderer.options.responsive === 'resize' the click coords are in relation to the HTML
|
|
28061
28061
|
// element, we need to convert to the SVG viewBox coords
|
|
28062
28062
|
|
|
28063
|
-
if (svg.viewBox.baseVal) {
|
|
28063
|
+
if (svg && svg.viewBox && svg.viewBox.baseVal) {
|
|
28064
28064
|
// Firefox passes null to this when no viewBox is given
|
|
28065
28065
|
// Chrome makes these values null when no viewBox is given.
|
|
28066
28066
|
if (svg.viewBox.baseVal.width !== 0) scaleX = svg.viewBox.baseVal.width / svg.clientWidth;
|
|
@@ -28336,7 +28336,7 @@ function mouseUp(ev) {
|
|
|
28336
28336
|
|
|
28337
28337
|
if (ev.type === 'touchend' && this.lastTouchMove) {
|
|
28338
28338
|
attachMissingTouchEventAttributes(this.lastTouchMove);
|
|
28339
|
-
if (this.lastTouchMove.touches.length > 0) _ev = this.lastTouchMove.touches[0];
|
|
28339
|
+
if (this.lastTouchMove && this.lastTouchMove.touches && this.lastTouchMove.touches.length > 0) _ev = this.lastTouchMove.touches[0];
|
|
28340
28340
|
}
|
|
28341
28341
|
|
|
28342
28342
|
if (!this.dragTarget) return;
|
|
@@ -29154,7 +29154,7 @@ module.exports = unhighlight;
|
|
|
29154
29154
|
\********************/
|
|
29155
29155
|
/***/ (function(module) {
|
|
29156
29156
|
|
|
29157
|
-
var version = '6.1.
|
|
29157
|
+
var version = '6.1.6';
|
|
29158
29158
|
module.exports = version;
|
|
29159
29159
|
|
|
29160
29160
|
/***/ })
|