mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
选项改为常量
This commit is contained in:
parent
e448b5655a
commit
e8d04ec788
@ -39,7 +39,8 @@ export const entry = async () => {
|
||||
})
|
||||
;['volume', 'brightness'].forEach(type => {
|
||||
swiper.action.addEventListener(type, (e: CustomEvent<number>) => {
|
||||
if (getComponentSettings('touchPlayerGestures').options[`${type}Control`]) {
|
||||
const { options } = getComponentSettings('touchPlayerGestures').options
|
||||
if (options[`${type}Control`]) {
|
||||
gestureVM.startPreview({
|
||||
[type]: e.detail,
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user