summaryrefslogtreecommitdiff
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
parent42668d412105b972e0cc7440b64e8e24aeef4587 (diff)
downloaddecky-lsfg-vk-06ea2e0ca27348fea487613ca50248af920b465a.tar.gz
decky-lsfg-vk-06ea2e0ca27348fea487613ca50248af920b465a.zip
bump lsfg-vk, change slider to dd for fps multiplier
-rw-r--r--package.json6
-rw-r--r--src/components/ConfigurationSection.tsx25
2 files changed, 14 insertions, 17 deletions
diff --git a/package.json b/package.json
index ee18530..c2945b4 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "decky-lossless-scaling-vk",
- "version": "0.6.10",
+ "version": "0.6.11",
"description": "Use Lossless Scaling on the Steam Deck using the lsfg-vk vulkan layer",
"type": "module",
"scripts": {
@@ -46,8 +46,8 @@
"remote_binary": [
{
"name": "lsfg-vk_archlinux.zip",
- "url": "https://github.com/xXJSONDeruloXx/lsfg-vk/releases/download/upstream-16389394927/lsfg-vk_archlinux.zip",
- "sha256hash": "3ef1e2e89652f83089e326c67a7dbf586bcdb8cf5c427f300abd8887d733d6fa"
+ "url": "https://github.com/xXJSONDeruloXx/lsfg-vk/releases/download/upstream-16403902734/lsfg-vk_archlinux.zip",
+ "sha256hash": "220628261bfea8c81661d37fd0069a02214e85dbf32e28dcb08c5f55a6193075"
}
],
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>