diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-07-24 10:46:07 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-07-24 10:46:07 -0400 |
| commit | ce1d0353ab81584ee3847f34ec7d94a7303a258c (patch) | |
| tree | 13639758c1f594b302b6f3cd5e76d8df25ac2dfd | |
| parent | cb149d5e713cb1b3b60c193234a4198aa707dc2b (diff) | |
| download | decky-lsfg-vk-ce1d0353ab81584ee3847f34ec7d94a7303a258c.tar.gz decky-lsfg-vk-ce1d0353ab81584ee3847f34ec7d94a7303a258c.zip | |
re-org config layout
| -rw-r--r-- | src/components/ConfigurationSection.tsx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx index 67e010a..d7780d2 100644 --- a/src/components/ConfigurationSection.tsx +++ b/src/components/ConfigurationSection.tsx @@ -83,6 +83,20 @@ export function ConfigurationSection({ </PanelSectionRow> <PanelSectionRow> + <DropdownItem + label="Override Vulkan present mode" + description="Select a specific Vulkan presentation mode for better performance or compatibility" + menuLabel="Select presentation mode" + selectedOption={config.experimental_present_mode || "fifo"} + onChange={(value) => onConfigChange(EXPERIMENTAL_PRESENT_MODE, value.data)} + rgOptions={[ + { data: "fifo", label: "FIFO (VSync) - Default" }, + { data: "mailbox", label: "Mailbox" } + ]} + /> + </PanelSectionRow> + + {/* <PanelSectionRow> <div style={{ fontSize: "14px", @@ -96,26 +110,12 @@ export function ConfigurationSection({ > Experimental Features </div> - </PanelSectionRow> - - <PanelSectionRow> - <DropdownItem - label="Override Vulkan present mode" - description="Select a specific Vulkan presentation mode for better performance or compatibility (May cause crashes)" - menuLabel="Select presentation mode" - selectedOption={config.experimental_present_mode || "fifo"} - onChange={(value) => onConfigChange(EXPERIMENTAL_PRESENT_MODE, value.data)} - rgOptions={[ - { data: "fifo", label: "FIFO (VSync) - Default" }, - { data: "mailbox", label: "Mailbox" } - ]} - /> - </PanelSectionRow> + </PanelSectionRow> */} <PanelSectionRow> <SliderField label={`Base FPS Cap${config.dxvk_frame_rate > 0 ? ` (${config.dxvk_frame_rate} FPS)` : ' (Off)'}`} - description="Base framerate cap for DirectX games, before frame multiplier" + description="Base framerate cap for DirectX games, before frame multiplier. (Requires game restart to apply)" value={config.dxvk_frame_rate} min={0} max={60} |
