Skip to content
This repository was archived by the owner on Jan 4, 2021. It is now read-only.

Commit 48eaac9

Browse files
committed
[DEV] Generate myscript-js 1.2.2
1 parent ef35287 commit 48eaac9

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# Change Log
2+
## [v1.2.2](https://github.com/MyScript/MyScriptJS/tree/v1.2.2)
3+
4+
### Bugs
5+
- Fixes pointer leave and out coordinates
6+
27
## [v1.2.1](https://github.com/MyScript/MyScriptJS/tree/v1.2.1)
38

49
### Bugs

dist/myscript.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14536,8 +14536,8 @@ MyScript = {
1453614536
if (pointerId === e.pointerId) {
1453714537
e.preventDefault();
1453814538

14539-
var coord = _getCoordinates(e, element);
14540-
self._up(coord.x, coord.y, coord.t);
14539+
var point = self._inkGrabber.getStroke().getPointByIndex(self._inkGrabber.getStroke().getLastIndexPoint());
14540+
self._up(point.x, point.y, point.t);
1454114541
pointerId = undefined;
1454214542
}
1454314543
}, false);
@@ -14546,8 +14546,8 @@ MyScript = {
1454614546
if (pointerId === e.pointerId) {
1454714547
e.preventDefault();
1454814548

14549-
var coord = _getCoordinates(e, element);
14550-
self._up(coord.x, coord.y, coord.t);
14549+
var point = self._inkGrabber.getStroke().getPointByIndex(self._inkGrabber.getStroke().getLastIndexPoint());
14550+
self._up(point.x, point.y, point.t);
1455114551
pointerId = undefined;
1455214552
}
1455314553
}, false);

dist/myscript.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/myscript.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)