FreeTube/src
Emma 551b51341c
Improve touch controls for dash quality selector (#4750)
* Improve touch input on dash quality selector

- Add `touchstart` event to quality button which toggles the `vjs-lock-showing` class used on other quality selectors
- Call `this.handleClick` from touchstart (fixes issue with `e.target` not being correct)

MarmadileManteater/FreeTubeCordova#239

* Hide the dash quality selector on `focusout`

* Use `classList.*` methods over manually editing the attributes

* De-duplicate code

* Add back line break

* Allow scroll on dash quality selector when screen is narrow

* Use flag to determine if user is scrolling or tapping

* hide the quality selector on select

(just like the other quality selectors do on mobile)
2024-03-10 18:00:42 -04:00
..
data Push Latest Code to Repository 2020-02-16 13:30:00 -05:00
datastores Add feature to set a playlist as quick bookmark target (#4518) 2024-01-17 22:52:42 -05:00
main Fix URL copied via right click menu (#4690) 2024-03-03 21:28:26 +00:00
renderer Improve touch controls for dash quality selector (#4750) 2024-03-10 18:00:42 -04:00
constants.js Add feature to set a playlist as quick bookmark target (#4518) 2024-01-17 22:52:42 -05:00
index.ejs Add more electron guards (#3031) 2023-01-05 04:53:39 +01:00