refactor(behaviors): set default value of scroll canvas range to Infinity (#6361)

Co-authored-by: antv <antv@antfin.com>
This commit is contained in:
Aaron 2024-09-26 10:52:46 +08:00 committed by GitHub
parent 4eb91c38a3
commit 5521ef4550
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,7 +84,7 @@ export class ScrollCanvas extends BaseBehavior<ScrollCanvasOptions> {
enable: true, enable: true,
sensitivity: 1, sensitivity: 1,
preventDefault: true, preventDefault: true,
range: 0.5, range: Infinity,
}; };
private shortcut: Shortcut; private shortcut: Shortcut;