- Fix: Revert fix to have extension `mouseup` events run on "zoom" and

"select" modes (#159); breaks polygon selection
- npm: Bump to 3.0.1
master
Brett Zamir 2018-10-22 23:43:59 +08:00
parent 2cecbac24a
commit f4bbd34d34
13 changed files with 20 additions and 17 deletions

View File

@ -1,5 +1,7 @@
# ? # 3.0.1
- Fix: Revert fix to have extension `mouseup` events run on "zoom" and
"select" modes (#159); breaks polygon selection
- Fix (jgraduate->jpicker): Actually fix issue with color val check when no - Fix (jgraduate->jpicker): Actually fix issue with color val check when no
other proper results (equal to "all"); prior fix had not covered other proper results (equal to "all"); prior fix had not covered
original intention original intention

View File

@ -92,6 +92,7 @@ incorporating SVGEdit.
## Recent news ## Recent news
- 2018-10-22 Published 3.0.1 (Revert fix affecting polygon selection)
- 2018-10-21 Published 3.0.0 (misc. improvements including centering canvas and - 2018-10-21 Published 3.0.0 (misc. improvements including centering canvas and
key locale fixes since last RC) key locale fixes since last RC)
- 2018-09-30 Published 3.0.0-rc.3 with security and other fixes - 2018-09-30 Published 3.0.0-rc.3 with security and other fixes

4
dist/index-es.js vendored
View File

@ -16059,7 +16059,7 @@ function SvgCanvas(container, config) {
} }
} }
break; return;
case 'zoom': case 'zoom':
if (rubberBox != null) { if (rubberBox != null) {
@ -16074,7 +16074,7 @@ function SvgCanvas(container, config) {
height: Math.abs(realY - rStartY), height: Math.abs(realY - rStartY),
factor: factor factor: factor
}); });
break; return;
case 'fhpath': case 'fhpath':
// Check that the path contains at least 2 points; a degenerate one-point path // Check that the path contains at least 2 points; a degenerate one-point path

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
dist/index-umd.js vendored
View File

@ -16065,7 +16065,7 @@
} }
} }
break; return;
case 'zoom': case 'zoom':
if (rubberBox != null) { if (rubberBox != null) {
@ -16080,7 +16080,7 @@
height: Math.abs(realY - rStartY), height: Math.abs(realY - rStartY),
factor: factor factor: factor
}); });
break; return;
case 'fhpath': case 'fhpath':
// Check that the path contains at least 2 points; a degenerate one-point path // Check that the path contains at least 2 points; a degenerate one-point path

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2615,7 +2615,7 @@ const mouseUp = function (evt) {
} }
} }
} }
break; return;
case 'zoom': case 'zoom':
if (rubberBox != null) { if (rubberBox != null) {
rubberBox.setAttribute('display', 'none'); rubberBox.setAttribute('display', 'none');
@ -2628,7 +2628,7 @@ const mouseUp = function (evt) {
height: Math.abs(realY - rStartY), height: Math.abs(realY - rStartY),
factor factor
}); });
break; return;
case 'fhpath': case 'fhpath':
// Check that the path contains at least 2 points; a degenerate one-point path // Check that the path contains at least 2 points; a degenerate one-point path
// causes problems. // causes problems.

View File

@ -16062,7 +16062,7 @@
} }
} }
break; return;
case 'zoom': case 'zoom':
if (rubberBox != null) { if (rubberBox != null) {
@ -16077,7 +16077,7 @@
height: Math.abs(realY - rStartY), height: Math.abs(realY - rStartY),
factor: factor factor: factor
}); });
break; return;
case 'fhpath': case 'fhpath':
// Check that the path contains at least 2 points; a degenerate one-point path // Check that the path contains at least 2 points; a degenerate one-point path

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "svgedit", "name": "svgedit",
"version": "3.0.0", "version": "3.0.1",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "svgedit", "name": "svgedit",
"version": "3.0.0", "version": "3.0.1",
"description": "Powerful SVG-Editor for your browser ", "description": "Powerful SVG-Editor for your browser ",
"main": "dist/index-umd.js", "main": "dist/index-umd.js",
"module": "dist/index-es.js", "module": "dist/index-es.js",

View File

@ -16062,7 +16062,7 @@
} }
} }
break; return;
case 'zoom': case 'zoom':
if (rubberBox != null) { if (rubberBox != null) {
@ -16077,7 +16077,7 @@
height: Math.abs(realY - rStartY), height: Math.abs(realY - rStartY),
factor: factor factor: factor
}); });
break; return;
case 'fhpath': case 'fhpath':
// Check that the path contains at least 2 points; a degenerate one-point path // Check that the path contains at least 2 points; a degenerate one-point path