mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
fix(video speed): fix #1504 again
This commit is contained in:
parent
d98c46b5c1
commit
40820c71dd
@ -118,7 +118,7 @@ export class VideoSpeedController {
|
|||||||
const { getExtraSpeedMenuItemElements } = await import("./extend-video-speed")
|
const { getExtraSpeedMenuItemElements } = await import("./extend-video-speed")
|
||||||
const { calcOrder, calcMenuHeight } = await import("./video-speed-common")
|
const { calcOrder, calcMenuHeight } = await import("./video-speed-common")
|
||||||
// 有必要传递之前的 nativeSpeedVal,跨分 P 时原生倍数将保持一样
|
// 有必要传递之前的 nativeSpeedVal,跨分 P 时原生倍数将保持一样
|
||||||
const controller = await VideoSpeedController.getInstance(sharedSpeed)
|
const controller = await VideoSpeedController.getInstance(sharedSpeed, sharedNativeSpeed)
|
||||||
containerElement = controller.containerElement
|
containerElement = controller.containerElement
|
||||||
if (containerElement.classList.contains("extended")) {
|
if (containerElement.classList.contains("extended")) {
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user