[feat] template works but cannot edit value by clicking

This commit is contained in:
Purp1e
2025-03-27 16:11:42 +08:00
parent 63172f12bc
commit a10cf8eddf
3 changed files with 31 additions and 39 deletions

View File

@@ -49,12 +49,9 @@ export interface VideoSetting {
// TODO: 校准
export const VideoSettingTemplate = {
veryhigh: {
cpu_level: "3",
gpu_mem_level: "3",
gpu_level: "3",
shaderquality: "0",
shaderquality: "1",
r_texturefilteringquality: "3",
msaa_samples: "2",
msaa_samples: "8",
r_csgo_cmaa_enable: "0",
videocfg_shadow_quality: "0",
videocfg_dynamic_shadows: "1",
@@ -64,12 +61,9 @@ export const VideoSettingTemplate = {
videocfg_hdr_detail: "3",
},
high: {
cpu_level: "3",
gpu_mem_level: "3",
gpu_level: "3",
shaderquality: "0",
r_texturefilteringquality: "3",
msaa_samples: "2",
r_texturefilteringquality: "2",
msaa_samples: "4",
r_csgo_cmaa_enable: "0",
videocfg_shadow_quality: "0",
videocfg_dynamic_shadows: "1",
@@ -77,13 +71,11 @@ export const VideoSettingTemplate = {
videocfg_particle_detail: "0",
videocfg_ao_detail: "0",
videocfg_hdr_detail: "3",
videocfg_fsr_detail: "0",
},
middle: {
cpu_level: "3",
gpu_mem_level: "3",
gpu_level: "3",
shaderquality: "0",
r_texturefilteringquality: "3",
r_texturefilteringquality: "2",
msaa_samples: "2",
r_csgo_cmaa_enable: "0",
videocfg_shadow_quality: "0",
@@ -91,27 +83,21 @@ export const VideoSettingTemplate = {
videocfg_texture_detail: "1",
videocfg_particle_detail: "0",
videocfg_ao_detail: "0",
videocfg_hdr_detail: "3",
videocfg_fsr_detail: "1",
},
low: {
cpu_level: "3",
gpu_mem_level: "3",
gpu_level: "3",
shaderquality: "0",
r_texturefilteringquality: "3",
msaa_samples: "2",
r_texturefilteringquality: "0",
msaa_samples: "0",
r_csgo_cmaa_enable: "0",
videocfg_shadow_quality: "0",
videocfg_dynamic_shadows: "1",
videocfg_texture_detail: "1",
videocfg_particle_detail: "0",
videocfg_ao_detail: "0",
videocfg_hdr_detail: "3",
videocfg_fsr_detail: "2",
},
recommend: {
cpu_level: "3",
gpu_mem_level: "3",
gpu_level: "3",
shaderquality: "0",
r_texturefilteringquality: "3",
msaa_samples: "2",
@@ -121,7 +107,7 @@ export const VideoSettingTemplate = {
videocfg_texture_detail: "1",
videocfg_particle_detail: "0",
videocfg_ao_detail: "0",
videocfg_hdr_detail: "3",
videocfg_fsr_detail: "0",
},
}