Skip to content

Commit

Permalink
Improve the accuracy of the docs for beforeMouseDown
Browse files Browse the repository at this point in the history
  • Loading branch information
stampyzfanz authored Jun 19, 2022
1 parent 8d4500e commit eaf3bd0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ zoomable only when `Alt` key is down.
## Ignore mouse down

If you want to disable panning or filter it by pressing a specific key, use the
`beforeMouseDown()` option. E.g.
`beforeMouseDown()` option. Note that it only works when the mouse initiates
the panning. E.g.

``` js
panzoom(element, {
Expand Down

0 comments on commit eaf3bd0

Please sign in to comment.