Skip to content

Commit

Permalink
do not stop touch evt propagation
Browse files Browse the repository at this point in the history
  • Loading branch information
lenadax committed Aug 12, 2024
1 parent 02cec41 commit b62c4f3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions src/motion.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ export class Motion extends Events {
}

_touchstart(evt) {
evt.stopPropagation();
let touch = evt.originalEvent.touches[0];
this._motion = false;
this._prev_pos = {
Expand All @@ -95,7 +94,6 @@ export class Motion extends Events {
}

_touchmove(evt) {
evt.stopPropagation();
let touch = evt.originalEvent.touches[0];
this._motion = true;
evt.motion = this._motion;
Expand Down
2 changes: 0 additions & 2 deletions treibstoff/bundle/treibstoff.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -1595,7 +1595,6 @@ var ts = (function (exports, $) {
this.reset_state();
}
_touchstart(evt) {
evt.stopPropagation();
let touch = evt.originalEvent.touches[0];
this._motion = false;
this._prev_pos = {
Expand All @@ -1611,7 +1610,6 @@ var ts = (function (exports, $) {
this.trigger('touchstart', evt);
}
_touchmove(evt) {
evt.stopPropagation();
let touch = evt.originalEvent.touches[0];
this._motion = true;
evt.motion = this._motion;
Expand Down
Loading

0 comments on commit b62c4f3

Please sign in to comment.