Handle Drag events in replayer (#587)
* Handle Drag events in replayer * add touch move source as well Co-authored-by: Yash Kumar <yashkumar@Yashs-MacBook-Pro-2.local>
This commit is contained in:
@@ -783,6 +783,8 @@ export class Replayer {
|
|||||||
this.applyMutation(d, isSync);
|
this.applyMutation(d, isSync);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case IncrementalSource.Drag:
|
||||||
|
case IncrementalSource.TouchMove:
|
||||||
case IncrementalSource.MouseMove:
|
case IncrementalSource.MouseMove:
|
||||||
if (isSync) {
|
if (isSync) {
|
||||||
const lastPosition = d.positions[d.positions.length - 1];
|
const lastPosition = d.positions[d.positions.length - 1];
|
||||||
|
|||||||
Reference in New Issue
Block a user