Skip to content

Commit

Permalink
Merge pull request #289 from idrawjs/dev-v0.4
Browse files Browse the repository at this point in the history
fix: fix middleware usage of dragging in idraw
  • Loading branch information
chenshenhai authored Feb 24, 2024
2 parents 1ea7642 + a5c17e4 commit 6fbb6cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/idraw/src/idraw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class iDraw {
enableScale === true && core.use(MiddlewareScaler);
enableRuler === true && core.use(MiddlewareRuler);
enableTextEdit === true && core.use(MiddlewareTextEditor);
enableDrag === true && core.use(MiddlewareTextEditor);
enableDrag === true && core.use(MiddlewareDragger);
}

reset(opts: IDrawSettings) {
Expand Down

0 comments on commit 6fbb6cf

Please sign in to comment.