Skip to content

Commit

Permalink
build: update build
Browse files Browse the repository at this point in the history
  • Loading branch information
kmkzt committed May 31, 2019
1 parent d62c490 commit 109905f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/main.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/main.bundle.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions lib/SvgDrawing.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,16 +125,16 @@ var SvgDrawing = (function (_super) {
SvgDrawing.prototype.touchStart = function (e) {
e.preventDefault();
var touch = e.touches[0];
this.drawingStart({ x: touch.pageX, y: touch.pageY });
this.drawingStart({ x: touch.clientX, y: touch.clientY });
this.el.addEventListener('touchmove', this.touchMove, getPassiveOptions(false));
this.el.addEventListener('touchend', this.touchEnd, getPassiveOptions(false));
};
SvgDrawing.prototype.touchMove = function (e) {
e.preventDefault();
var touch = e.touches[0];
this.drawingMove({
x: touch.pageX,
y: touch.pageY
x: touch.clientX,
y: touch.clientY
});
};
SvgDrawing.prototype.touchEnd = function (e) {
Expand Down
2 changes: 1 addition & 1 deletion lib/index.min.js

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

0 comments on commit 109905f

Please sign in to comment.