FreeTube/src/renderer/store/modules
Cody Sechelski 37051d8518
Ctrl plus scroll to change playback rate (#1745)
* added the setting to toggle the 'scroll playback rate over video player' on and off. Set the default to off

* • Added Setting to toggle the 'ctrl+scroll for playback rate' feature
• Added the label and tooltip to the en-US local file
• Added the ctrl+scroll functionality to the video player component
• Added the ctrl+click functionality to the video player component
• Modified the existing scroll to change volume funtionality to ignore the event if the ctrl key is pressed

* changed the max playrate to 8 in Player Settings. Changed the available playrate options in the video player component popup menu to go up to 8 in steps of .25

* reverted back to hard coded values for playback rates

* opps, forgot to remove the playbackRates method. It has been removed now.

* fixed (at lesast I think) the hacky way I was overwriding the click handler. Also added a check for event.meteKey for mac users.

* added a check for if the metakey is pressedin the the mosueScrollVlumne method

* made a slight change to the tooltip text. The point of this commit is just to try and get the tests to re-run after I marked the PR as ready for review.

* added 'event.metaKey' back to the 'mouseScrollPlaybackRate' method. Not sure how I ended up leaving it off a few commits ago

Co-authored-by: Cody Sechelski <codysechelski@RMC02G68EYMD6R.local>
2021-11-24 16:52:56 -05:00
..
history.js Store: Implement history synchronization between windows 2021-06-26 05:06:21 +01:00
index.js Push Latest Code to Repository 2020-02-16 13:30:00 -05:00
invidious.js fix: white screen when invidious instances don't load (#1755) 2021-11-02 11:42:24 +00:00
playlists.js Chore+Refactor: Replace `nedb` package with `nedb-promises` 2021-06-17 04:21:58 +01:00
profiles.js Chore+Refactor: Replace `nedb` package with `nedb-promises` 2021-06-17 04:21:58 +01:00
settings.js Ctrl plus scroll to change playback rate (#1745) 2021-11-24 16:52:56 -05:00
sponsorblock.js SponsorBlock (#1130) 2021-05-16 16:01:24 -04:00
subscriptions.js Finish Core Subscriptions logic and add more locales to profiles page 2020-09-01 23:21:32 -04:00
utils.js Add Dracula Colors to Util store 2021-11-11 15:54:08 -05:00
ytdl.js Date locale change (#1757) 2021-10-02 15:43:42 +00:00