moved key I to L for 10s skip and arrow keys are 5s now
This commit is contained in:
parent
e3c8dc9896
commit
cae5f92140
1 changed files with 3 additions and 3 deletions
|
|
@ -169,19 +169,19 @@ class _DesktopControllerWidgetState extends State<DesktopControllerWidget> {
|
|||
const Duration(seconds: 10);
|
||||
widget.videoController.player.seek(rate);
|
||||
},
|
||||
const SingleActivator(LogicalKeyboardKey.keyI): () {
|
||||
const SingleActivator(LogicalKeyboardKey.keyL): () {
|
||||
final rate = widget.videoController.player.state.position +
|
||||
const Duration(seconds: 10);
|
||||
widget.videoController.player.seek(rate);
|
||||
},
|
||||
const SingleActivator(LogicalKeyboardKey.arrowLeft): () {
|
||||
final rate = widget.videoController.player.state.position -
|
||||
const Duration(seconds: 2);
|
||||
const Duration(seconds: 5);
|
||||
widget.videoController.player.seek(rate);
|
||||
},
|
||||
const SingleActivator(LogicalKeyboardKey.arrowRight): () {
|
||||
final rate = widget.videoController.player.state.position +
|
||||
const Duration(seconds: 2);
|
||||
const Duration(seconds: 5);
|
||||
widget.videoController.player.seek(rate);
|
||||
},
|
||||
const SingleActivator(LogicalKeyboardKey.arrowUp): () {
|
||||
|
|
|
|||
Loading…
Reference in a new issue