yomichan/ext/js/pages
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
..
common HTML page script refactoring (#2162) 2022-05-28 21:57:25 -04:00
settings Touch and pen input updates (#2172) 2022-06-03 17:11:32 -04:00
action-popup-main.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
generic-page-main.js HTML page script refactoring (#2162) 2022-05-28 21:57:25 -04:00
info-main.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
permissions-main.js HTML page script refactoring (#2162) 2022-05-28 21:57:25 -04:00
welcome-main.js HTML page script refactoring (#2162) 2022-05-28 21:57:25 -04:00