generated from obsidianmd/obsidian-sample-plugin
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: 🐛 Workaround for horizontal scrolling
Partly fixes #47. We now also disable scrolling on the `wheel` event if we hover over a canvas element, canvas node or image. This way we still scroll a little bit before the wheel event disables the scrolling but at least we stop scrolling indefinetly.
- Loading branch information
Showing
1 changed file
with
12 additions
and
4 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