mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
fix: 适应 bpx.ts 中类名变化
- 全局搜索只找到了这一处,不知道还有没有其他地方
This commit is contained in:
parent
5d132bbe3e
commit
ac6e0e40f7
@ -5,11 +5,9 @@ let cancel: () => void
|
||||
const prevent = () => {
|
||||
cancel?.()
|
||||
cancel = preventEvent(unsafeWindow, 'mousewheel', () => {
|
||||
const isFullscreen = [
|
||||
'player-mode-webfullscreen',
|
||||
'player-fullscreen-fix',
|
||||
'player-full-win',
|
||||
].some(token => document.body.classList.contains(token))
|
||||
const isFullscreen = ['player-mode-full', 'player-fullscreen-fix', 'player-full-win'].some(
|
||||
token => document.body.classList.contains(token),
|
||||
)
|
||||
return isFullscreen
|
||||
})
|
||||
}
|
||||
|
||||
@ -145,8 +145,8 @@
|
||||
left: 50%;
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
}
|
||||
@mixin on-fullscreen($bodyClass: "*") {
|
||||
#{selector-unify("body.player-mode-webfullscreen", $bodyClass)} &,
|
||||
@mixin on-fullscreen($bodyClass: '*') {
|
||||
#{selector-unify("body.player-mode-full", $bodyClass)} &,
|
||||
#{selector-unify("body.player-fullscreen-fix", $bodyClass)} &,
|
||||
#{selector-unify("body.player-full-win", $bodyClass)} & {
|
||||
@content;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user