yomichan/ext/js/language
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 Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
deinflector.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
dictionary-database.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
dictionary-importer-media-loader.js ESlint JSdoc (#2148) 2022-05-20 10:28:38 -04:00
dictionary-importer.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
dictionary-worker-handler.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
dictionary-worker-main.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
dictionary-worker-media-loader.js ESlint JSdoc (#2148) 2022-05-20 10:28:38 -04:00
dictionary-worker.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
text-scanner.js Touch and pen input updates (#2172) 2022-06-03 17:11:32 -04:00
translator.js Sort using number of definitions (#2166) 2022-05-29 20:53:21 -04:00