FreeTube/src/renderer
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
..
assets Integrate theater mode into mediaplayer (#1589) 2021-08-24 07:36:10 +00:00
components Ctrl plus scroll to change playback rate (#1745) 2021-11-24 16:52:56 -05:00
i18n Renderer: Move vue-i18n to its own file 2021-06-20 02:40:40 +01:00
router Recognize more channel links (#1455) 2021-11-02 11:45:50 +00:00
sass-partials Make hover on watched video a smooth background transition #1750 (#1812) 2021-10-15 00:03:11 +02:00
store Ctrl plus scroll to change playback rate (#1745) 2021-11-24 16:52:56 -05:00
views Remove logic for getting the next page in the Invidious API as it isn't needed anymore 2021-11-11 16:29:37 -05:00
App.css Fixes changelog to look better with larger bodies (#1634) 2021-09-03 11:24:05 -04:00
App.js Recognize more channel links (#1455) 2021-11-02 11:45:50 +00:00
App.vue * Implement setting for disabling external link opening (#1427) 2021-09-16 19:03:25 -04:00
main.js Renderer: Move vue-i18n to its own file 2021-06-20 02:40:40 +01:00
themes.css Fix text color contrast with main Dracula colors 2021-10-12 16:19:46 -04:00
videoJS.css Fix issue where playback rate button would disrupt the player layout 2021-10-12 17:04:03 -04:00