Skip to content

Commit

Permalink
fix(video speed): fix #1504 again
Browse files Browse the repository at this point in the history
  • Loading branch information
LonelySteve authored and the1812 committed Mar 2, 2021
1 parent aeecbb2 commit 3f9920e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/video-speed/video-speed-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export class VideoSpeedController {
const { getExtraSpeedMenuItemElements } = await import("./extend-video-speed")
const { calcOrder } = await import("./video-speed-common")
// 有必要传递之前的 nativeSpeedVal,跨分 P 时原生倍数将保持一样
const controller = await VideoSpeedController.getInstance(sharedSpeed)
const controller = await VideoSpeedController.getInstance(sharedSpeed, sharedNativeSpeed)
containerElement = controller.containerElement
if (containerElement.classList.contains("extended")) {
return
Expand Down

0 comments on commit 3f9920e

Please sign in to comment.