mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Improve built-in presets (#3971)
This commit is contained in:
parent
812a52b2ca
commit
1a55483419
@ -16,8 +16,16 @@ export const plugin: PluginMetadata = {
|
||||
},
|
||||
}
|
||||
})
|
||||
addData('keymap.presets', (presetBase: Record<string, string>) => {
|
||||
presetBase.toggleDanmakuList = 'shift d'
|
||||
})
|
||||
addData(
|
||||
'keymap.presets',
|
||||
(
|
||||
presetBase: Record<string, string>,
|
||||
builtInPresets: Record<string, Record<string, string>>,
|
||||
) => {
|
||||
presetBase.toggleDanmakuList = 'shift d'
|
||||
builtInPresets.HTML5Player.toggleDanmakuList = ''
|
||||
builtInPresets.PotPlayer.toggleDanmakuList = ''
|
||||
},
|
||||
)
|
||||
},
|
||||
}
|
||||
|
||||
@ -17,8 +17,17 @@ export const plugin: PluginMetadata = {
|
||||
},
|
||||
}
|
||||
})
|
||||
addData('keymap.presets', (presetBase: Record<string, string>) => {
|
||||
presetBase.toggleSubtitle = 'shift c'
|
||||
})
|
||||
addData(
|
||||
'keymap.presets',
|
||||
(
|
||||
presetBase: Record<string, string>,
|
||||
builtInPresets: Record<string, Record<string, string>>,
|
||||
) => {
|
||||
presetBase.toggleSubtitle = 'shift c'
|
||||
builtInPresets.YouTube.toggleSubtitle = 'c'
|
||||
builtInPresets.YouTube.coin = ''
|
||||
builtInPresets.PotPlayer.toggleSubtitle = 'alt h'
|
||||
},
|
||||
)
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user