Skip to content

Commit

Permalink
Use Primary (0) as default
Browse files Browse the repository at this point in the history
  • Loading branch information
Pietrrrek committed Nov 14, 2023
1 parent af14390 commit 0de0275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vanilla/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default class SelectionArea extends EventTarget<SelectionEvents> {
behaviour: {
overlap: 'invert',
intersect: 'touch',
triggers: [{button: 0, modifiers: ["ctrl", "alt", "meta"]}],
triggers: [0],
...opt.behaviour,
startThreshold: opt.behaviour?.startThreshold ?
typeof opt.behaviour.startThreshold === 'number' ?
Expand Down

0 comments on commit 0de0275

Please sign in to comment.