summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2025-07-19 00:48:06 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2025-07-19 00:48:06 -0400
commit75a94598341899eea5260206975686c05e793956 (patch)
treec0392ef13b7cc47bc27369e7840e58fa23e745b7 /src
parent6dafc215f2728832d4ea6ef873dbfa34d58dc0e4 (diff)
downloaddecky-lsfg-vk-75a94598341899eea5260206975686c05e793956.tar.gz
decky-lsfg-vk-75a94598341899eea5260206975686c05e793956.zip
fix notchindex value offset from step
Diffstat (limited to 'src')
-rw-r--r--src/components/ConfigurationSection.tsx28
1 files changed, 6 insertions, 22 deletions
diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx
index a55395e..ad99c28 100644
--- a/src/components/ConfigurationSection.tsx
+++ b/src/components/ConfigurationSection.tsx
@@ -28,24 +28,6 @@ export function ConfigurationSection({
</div>
</PanelSectionRow>
- {/* <PanelSectionRow>
- <ToggleField
- label="Enable LSFG"
- description="Enables lsfg globally (apply before launching games)"
- checked={config.enable}
- onChange={(value) => onConfigChange('enable', value)}
- />
- </PanelSectionRow> */}
-
- {/* <PanelSectionRow>
- <TextField
- label="Lossless.dll Path"
- description="specify where Lossless.dll is stored"
- value={config.dll}
- onChange={(e) => onConfigChange('dll', e.target.value)}
- />
- </PanelSectionRow> */}
-
<PanelSectionRow>
<SliderField
label="FPS Multiplier"
@@ -56,11 +38,13 @@ export function ConfigurationSection({
step={1}
notchCount={4}
notchLabels={[
- { notchIndex: 0, label: "OFF" },
- { notchIndex: 1, label: "2X" },
- { notchIndex: 2, label: "3X" },
- { notchIndex: 3, label: "4X" }
+ { notchIndex: 0, label: "OFF", value: 1 },
+ { notchIndex: 1, label: "2X", value: 2 },
+ { notchIndex: 2, label: "3X", value: 3 },
+ { notchIndex: 3, label: "4X", value: 4 }
]}
+ showValue={false}
+ notchTicksVisible={true}
onChange={(value) => onConfigChange('multiplier', value)}
/>
</PanelSectionRow>