增加禁用弹幕热力图开关

This commit is contained in:
mtvpls
2026-01-21 12:06:36 +08:00
parent 7a8c0b2d29
commit d2bd6d20b6
2 changed files with 42 additions and 12 deletions
+3 -3
View File
@@ -4965,8 +4965,8 @@ function PlayPageClient() {
return '打开设置';
},
},
// 热力图开关(始终显示,不再依赖 danmakuHeatmapDisabled
{
// 热力图开关(仅在未禁用时显示
...(!danmakuHeatmapDisabledRef.current ? [{
name: '弹幕热力',
html: '弹幕热力',
icon: '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z" fill="#ffffff"/></svg>',
@@ -4982,7 +4982,7 @@ function PlayPageClient() {
}
return newVal;
},
},
}] : []),
...(webGPUSupported ? [
{
name: 'Anime4K超分',