This commit is contained in:
lzp
2026-03-09 16:45:30 +08:00
parent 40dfb93406
commit 9189b5387f
9 changed files with 199 additions and 41 deletions

View File

@@ -603,12 +603,12 @@ export class CanvasEventManager {
handleDragEnd(opt, isTouch = false) {
if (this.canvas.isDragging) {
// 使用动画管理器处理惯性效果
if (this.lastMousePositions.length > 1 && opt && opt.e) {
this.animationManager.applyInertiaEffect(
this.lastMousePositions,
isTouch
);
}
// if (this.lastMousePositions.length > 1 && opt && opt.e) {
// this.animationManager.applyInertiaEffect(
// this.lastMousePositions,
// isTouch
// );
// }
}
this.canvas.isDragging = false;