yomichan/ext/js/data
toasted-nutbread c966d9b1eb
Touch and pen input updates (#2172)
* Remove unnecessary return

* Move touch start input filtering

* Refactor

* Add scanOnTouchPress

* Add preventPenScrolling

* Rename scanOnPenPress to scanOnPenMove

* Rename scanOnPenRelease to scanOnPenReleaseHover

* Simplify

* Refactor _searchAtFromPen early exit

* Merge _penPointerPressed and _penPointerReleased into a single variable

* Add more options

* Simplify pen pointer coordinates

* Implement scanOnPenPress and scanOnPenRelease

* Implement scanOnTouchRelease

* Fix tests

* Don't search on touch cancel

* Cancel touch if the touch action is used for scrolling or other gestures

* Fix incorrect scroll prevention options being used

* Organize options

* Fix typos
2022-06-03 17:11:32 -04:00
..
sandbox ESlint JSdoc (#2148) 2022-05-20 10:28:38 -04:00
anki-note-builder.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
anki-util.js ESlint JSdoc (#2148) 2022-05-20 10:28:38 -04:00
database.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
json-schema.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
options-util.js Touch and pen input updates (#2172) 2022-06-03 17:11:32 -04:00
permissions-util.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00