diff options
| author | Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> | 2025-07-22 20:22:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-22 20:22:00 -0400 |
| commit | 9ef3f07205dbbb7bcdc0361141b2a1d2e21e5cfe (patch) | |
| tree | 043f1bb6c7e7138fa2828e59bd3b9e8c961254ed /src/components/ConfigurationSection.tsx | |
| parent | 42668d412105b972e0cc7440b64e8e24aeef4587 (diff) | |
| parent | d194d4886825027c4edfed1a7af67c1bc4ce3189 (diff) | |
| download | decky-lsfg-vk-9ef3f07205dbbb7bcdc0361141b2a1d2e21e5cfe.tar.gz decky-lsfg-vk-9ef3f07205dbbb7bcdc0361141b2a1d2e21e5cfe.zip | |
Merge pull request #70 from xXJSONDeruloXx/dd-multiplierv0.6.14-prev0.6.13-prev0.6.12-prev0.6.11
bump lsfg-vk, change slider to dd for fps multiplier
Diffstat (limited to 'src/components/ConfigurationSection.tsx')
| -rw-r--r-- | src/components/ConfigurationSection.tsx | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx index c0b67fd..778ebc8 100644 --- a/src/components/ConfigurationSection.tsx +++ b/src/components/ConfigurationSection.tsx @@ -1,7 +1,8 @@ import { PanelSectionRow, ToggleField, SliderField, DropdownItem } from "@decky/ui"; import { ConfigurationData } from "../config/configSchema"; +import { FpsMultiplierControl } from "./FpsMultiplierControl"; import { - MULTIPLIER, FLOW_SCALE, PERFORMANCE_MODE, HDR_MODE, + FLOW_SCALE, PERFORMANCE_MODE, HDR_MODE, EXPERIMENTAL_PRESENT_MODE, DXVK_FRAME_RATE, DISABLE_STEAMDECK_MODE, MANGOHUD_WORKAROUND, DISABLE_VKBASALT } from "../config/generatedConfigSchema"; @@ -23,7 +24,7 @@ export function ConfigurationSection({ fontSize: "14px", fontWeight: "bold", marginTop: "16px", - marginBottom: "8px", + marginBottom: "16px", borderBottom: "1px solid rgba(255, 255, 255, 0.2)", paddingBottom: "4px", color: "white" @@ -33,26 +34,8 @@ export function ConfigurationSection({ </div> </PanelSectionRow> - <PanelSectionRow> - <SliderField - 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 } - ]} - showValue={false} - notchTicksVisible={true} - onChange={(value) => onConfigChange(MULTIPLIER, value)} - /> - </PanelSectionRow> + {/* FPS Multiplier */} + <FpsMultiplierControl config={config} onConfigChange={onConfigChange} /> <PanelSectionRow> <SliderField |
