-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fixed regression in toScreenCoords.
- Loading branch information
Showing
4 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/** | ||
* Javascript library for viewing and interactive editing of SVGs. | ||
* | ||
* @version $Version: 2020.06.25$ | ||
* @version $Version: 2020.07.03$ | ||
* @author Mauricio Villegas <[email protected]> | ||
* @copyright Copyright(c) 2015-present, Mauricio Villegas <[email protected]> | ||
* @license MIT License | ||
|
@@ -23,7 +23,7 @@ | |
var | ||
sns = 'http://www.w3.org/2000/svg', | ||
xns = 'http://www.w3.org/1999/xlink', | ||
version = '$Version: 2020.06.25$'.replace(/^\$Version. (.*)\$/,'$1'); | ||
version = '$Version: 2020.07.03$'.replace(/^\$Version. (.*)\$/,'$1'); | ||
|
||
/// Set SvgCanvas global object /// | ||
if ( ! global.SvgCanvas ) | ||
|
@@ -674,7 +674,7 @@ | |
function toScreenCoords( point ) { | ||
if ( ! svgRoot ) | ||
return false; | ||
point = newSVGPoint(p.x, p.y); | ||
point = newSVGPoint(point.x, point.y); | ||
return point.matrixTransform(svgRoot.getScreenCTM()); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "nw-page-editor", | ||
"version": "2020.06.25", | ||
"version": "2020.07.03", | ||
"description": "Simple app for visual editing of Page XML files", | ||
"main": "./html/index.html#1", | ||
"author": "Mauricio Villegas <[email protected]>", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,13 @@ | |
/** | ||
* Common code to be executed by other php scripts. | ||
* | ||
* @version $Version: 2020.06.25$ | ||
* @version $Version: 2020.07.03$ | ||
* @author Mauricio Villegas <[email protected]> | ||
* @copyright Copyright(c) 2017-present, Mauricio Villegas <[email protected]> | ||
* @license MIT License | ||
*/ | ||
|
||
$version = str_replace('Version: ','',"Version: 2020.06.25"); | ||
$version = str_replace('Version: ','',"Version: 2020.07.03"); | ||
$v = '?v='.$version; | ||
|
||
/// User authentication /// | ||
|