yomichan/test
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
..
data Update structured content tests (#2134) 2022-05-14 18:45:18 -04:00
test-all.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-anki-note-builder.js Update structured content tests (#2134) 2022-05-14 18:45:18 -04:00
test-build-libs.js Parse5 update (#2140) 2022-05-16 21:25:05 -04:00
test-cache-map.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-core.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-css-json.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-database.js Update structured content tests (#2134) 2022-05-14 18:45:18 -04:00
test-deinflector.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-dictionary.js Dictionary validate updates (#2137) 2022-05-16 20:09:38 -04:00
test-document-util.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-dom-text-scanner.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-hotkey-util.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-japanese-util.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-jsdom.js ESlint JSdoc (#2148) 2022-05-20 10:28:38 -04:00
test-json-schema.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-manifest.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-object-property-accessor.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-options-util.js Touch and pen input updates (#2172) 2022-06-03 17:11:32 -04:00
test-profile-conditions-util.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-text-source-map.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-translator.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
test-workers.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00