summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2025-07-22 15:14:57 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2025-07-22 15:14:57 -0400
commit06ea2e0ca27348fea487613ca50248af920b465a (patch)
tree4a5afd13021d7f232cf455dbc4aac1d821095703 /src
parent42668d412105b972e0cc7440b64e8e24aeef4587 (diff)
downloaddecky-lsfg-vk-06ea2e0ca27348fea487613ca50248af920b465a.tar.gz
decky-lsfg-vk-06ea2e0ca27348fea487613ca50248af920b465a.zip
bump lsfg-vk, change slider to dd for fps multiplier
Diffstat (limited to 'src')
-rw-r--r--src/components/ConfigurationSection.tsx25
1 files changed, 11 insertions, 14 deletions
diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx
index c0b67fd..eb036ae 100644
--- a/src/components/ConfigurationSection.tsx
+++ b/src/components/ConfigurationSection.tsx
@@ -34,23 +34,20 @@ export function ConfigurationSection({
</PanelSectionRow>
<PanelSectionRow>
- <SliderField
+ <DropdownItem
label="FPS Multiplier"
description="Traditional FPS multiplier value"
- value={config.multiplier}
- min={1}
- max={4}
- step={1}
- notchCount={4}
- notchLabels={[
- { notchIndex: 0, label: "OFF", value: 1 },
- { notchIndex: 1, label: "2X", value: 2 },
- { notchIndex: 2, label: "3X", value: 3 },
- { notchIndex: 3, label: "4X", value: 4 }
+ menuLabel="Select FPS multiplier"
+ selectedOption={config.multiplier}
+ onChange={(value) => onConfigChange(MULTIPLIER, value.data)}
+ rgOptions={[
+ { data: 1, label: "OFF" },
+ { data: 2, label: "2X" },
+ { data: 3, label: "3X" },
+ { data: 4, label: "4X" },
+ { data: 5, label: "5X" },
+ { data: 6, label: "6X" },
]}
- showValue={false}
- notchTicksVisible={true}
- onChange={(value) => onConfigChange(MULTIPLIER, value)}
/>
</PanelSectionRow>