Skip to content

Commit

Permalink
- Fix: Revert fix to have extension mouseup events run on "zoom" and
Browse files Browse the repository at this point in the history
  "select" modes (#159); breaks polygon selection
- npm: Bump to 3.0.1
  • Loading branch information
brettz9 committed Oct 22, 2018
1 parent 2cecbac commit f4bbd34
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 17 deletions.
4 changes: 3 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -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
other proper results (equal to "all"); prior fix had not covered
original intention
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ incorporating SVGEdit.

## 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
key locale fixes since last RC)
- 2018-09-30 Published 3.0.0-rc.3 with security and other fixes
Expand Down
4 changes: 2 additions & 2 deletions dist/index-es.js
Original file line number Diff line number Diff line change
Expand Up @@ -16059,7 +16059,7 @@ function SvgCanvas(container, config) {
}
}

break;
return;

case 'zoom':
if (rubberBox != null) {
Expand All @@ -16074,7 +16074,7 @@ function SvgCanvas(container, config) {
height: Math.abs(realY - rStartY),
factor: factor
});
break;
return;

case 'fhpath':
// Check that the path contains at least 2 points; a degenerate one-point path
Expand Down
2 changes: 1 addition & 1 deletion dist/index-es.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index-es.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/index-umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -16065,7 +16065,7 @@
}
}

break;
return;

case 'zoom':
if (rubberBox != null) {
Expand All @@ -16080,7 +16080,7 @@
height: Math.abs(realY - rStartY),
factor: factor
});
break;
return;

case 'fhpath':
// Check that the path contains at least 2 points; a degenerate one-point path
Expand Down
2 changes: 1 addition & 1 deletion dist/index-umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index-umd.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions editor/svgcanvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -2615,7 +2615,7 @@ const mouseUp = function (evt) {
}
}
}
break;
return;
case 'zoom':
if (rubberBox != null) {
rubberBox.setAttribute('display', 'none');
Expand All @@ -2628,7 +2628,7 @@ const mouseUp = function (evt) {
height: Math.abs(realY - rStartY),
factor
});
break;
return;
case 'fhpath':
// Check that the path contains at least 2 points; a degenerate one-point path
// causes problems.
Expand Down
4 changes: 2 additions & 2 deletions editor/xdomain-svgedit-config-iife.js
Original file line number Diff line number Diff line change
Expand Up @@ -16062,7 +16062,7 @@
}
}

break;
return;

case 'zoom':
if (rubberBox != null) {
Expand All @@ -16077,7 +16077,7 @@
height: Math.abs(realY - rStartY),
factor: factor
});
break;
return;

case 'fhpath':
// Check that the path contains at least 2 points; a degenerate one-point path
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svgedit",
"version": "3.0.0",
"version": "3.0.1",
"description": "Powerful SVG-Editor for your browser ",
"main": "dist/index-umd.js",
"module": "dist/index-es.js",
Expand Down
4 changes: 2 additions & 2 deletions svgedit-config-iife.js
Original file line number Diff line number Diff line change
Expand Up @@ -16062,7 +16062,7 @@
}
}

break;
return;

case 'zoom':
if (rubberBox != null) {
Expand All @@ -16077,7 +16077,7 @@
height: Math.abs(realY - rStartY),
factor: factor
});
break;
return;

case 'fhpath':
// Check that the path contains at least 2 points; a degenerate one-point path
Expand Down

0 comments on commit f4bbd34

Please sign in to comment.