From 750a130db1ca42e0307400d36dc8c00436bcb51d Mon Sep 17 00:00:00 2001 From: Artem Draft Date: Tue, 28 Apr 2026 20:03:32 +0300 Subject: [PATCH] DragPlugin fixes --- src/plugin/DragPlugin.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/plugin/DragPlugin.js b/src/plugin/DragPlugin.js index 6b4f52b..72042f4 100644 --- a/src/plugin/DragPlugin.js +++ b/src/plugin/DragPlugin.js @@ -140,7 +140,6 @@ export default class DragPlugin { this.basePaused = this.reeller.paused; } - this.reeller.paused = true; this.tl.pause(); this.samples = []; @@ -156,10 +155,8 @@ export default class DragPlugin { } if (this.basePaused) { - this.reeller.paused = true; this.tl.pause(); } else { - this.reeller.paused = false; this.tl.resume(); } @@ -315,10 +312,6 @@ export default class DragPlugin { destroy() { this.stopInertia(); - if (this.basePaused !== null) { - this.restorePlayback(); - } - if (this.target) { this.target.removeEventListener('pointerdown', this.onPointerDown); this.target.removeEventListener('pointermove', this.onPointerMove);