defaultSkipInterval * player.playbackRate() (#2153)
This commit is contained in:
parent
d026170905
commit
d5c40be2ab
|
@ -1497,7 +1497,7 @@ export default Vue.extend({
|
||||||
// J Key
|
// J Key
|
||||||
// Rewind by 2x the time-skip interval (in seconds)
|
// Rewind by 2x the time-skip interval (in seconds)
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
this.changeDurationBySeconds(-this.defaultSkipInterval * 2)
|
this.changeDurationBySeconds(-this.defaultSkipInterval * this.player.playbackRate() * 2)
|
||||||
break
|
break
|
||||||
case 75:
|
case 75:
|
||||||
// K Key
|
// K Key
|
||||||
|
@ -1509,7 +1509,7 @@ export default Vue.extend({
|
||||||
// L Key
|
// L Key
|
||||||
// Fast-Forward by 2x the time-skip interval (in seconds)
|
// Fast-Forward by 2x the time-skip interval (in seconds)
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
this.changeDurationBySeconds(this.defaultSkipInterval * 2)
|
this.changeDurationBySeconds(this.defaultSkipInterval * this.player.playbackRate() * 2)
|
||||||
break
|
break
|
||||||
case 79:
|
case 79:
|
||||||
// O Key
|
// O Key
|
||||||
|
@ -1557,13 +1557,13 @@ export default Vue.extend({
|
||||||
// Left Arrow Key
|
// Left Arrow Key
|
||||||
// Rewind by the time-skip interval (in seconds)
|
// Rewind by the time-skip interval (in seconds)
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
this.changeDurationBySeconds(-this.defaultSkipInterval * 1)
|
this.changeDurationBySeconds(-this.defaultSkipInterval * this.player.playbackRate())
|
||||||
break
|
break
|
||||||
case 39:
|
case 39:
|
||||||
// Right Arrow Key
|
// Right Arrow Key
|
||||||
// Fast-Forward by the time-skip interval (in seconds)
|
// Fast-Forward by the time-skip interval (in seconds)
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
this.changeDurationBySeconds(this.defaultSkipInterval * 1)
|
this.changeDurationBySeconds(this.defaultSkipInterval * this.player.playbackRate())
|
||||||
break
|
break
|
||||||
case 73:
|
case 73:
|
||||||
// I Key
|
// I Key
|
||||||
|
|
Loading…
Reference in New Issue