forked from tradingview/lightweight-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
conditionally add wheel event listener
Only add the wheel event listener when required. This offers a small performance improvement for users who disable this option in `handleScroll` and `handleScale` options.
- Loading branch information
1 parent
2ba2dc7
commit 3992003
Showing
1 changed file
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters