Skip to content

Commit

Permalink
refactor(behaviors): set default value of scroll canvas range to Infi…
Browse files Browse the repository at this point in the history
…nity (#6361)

Co-authored-by: antv <[email protected]>
  • Loading branch information
Aarebecca and antv authored Sep 26, 2024
1 parent 4eb91c3 commit 5521ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/g6/src/behaviors/scroll-canvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class ScrollCanvas extends BaseBehavior<ScrollCanvasOptions> {
enable: true,
sensitivity: 1,
preventDefault: true,
range: 0.5,
range: Infinity,
};

private shortcut: Shortcut;
Expand Down

0 comments on commit 5521ef4

Please sign in to comment.