Skip to content

Commit

Permalink
feat: only main button trigger move
Browse files Browse the repository at this point in the history
  • Loading branch information
SepVeneto committed Dec 10, 2024
1 parent 91280a7 commit 5f9b30d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/components/freeDomCore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ const freeDomCore = defineComponent({
{
onMousedown: (evt: MouseEvent) => {
evt.stopPropagation()
this.mousedownFn(evt)
evt.button === 0 && this.mousedownFn(evt)
},
onMouseup: this.mouseupFn,
},
Expand Down

0 comments on commit 5f9b30d

Please sign in to comment.