diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-07-16 11:33:17 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-07-16 11:33:17 -0400 |
| commit | 9ca1d59049f8c37a49db1bfb75e471f752b8daaf (patch) | |
| tree | f77107c5850296e1e81adf84ed4fb507c5d16302 | |
| parent | 5b19ce0fb3b1a6fb6f88a2b66f39597fef32edb5 (diff) | |
| download | decky-lsfg-vk-9ca1d59049f8c37a49db1bfb75e471f752b8daaf.tar.gz decky-lsfg-vk-9ca1d59049f8c37a49db1bfb75e471f752b8daaf.zip | |
slider non notches for fps capper
| -rw-r--r-- | py_modules/lsfg_vk/configuration.py | 4 | ||||
| -rw-r--r-- | py_modules/lsfg_vk/plugin.py | 2 | ||||
| -rw-r--r-- | src/components/ConfigurationSection.tsx | 12 |
3 files changed, 4 insertions, 14 deletions
diff --git a/py_modules/lsfg_vk/configuration.py b/py_modules/lsfg_vk/configuration.py index f18bc35..5dc0629 100644 --- a/py_modules/lsfg_vk/configuration.py +++ b/py_modules/lsfg_vk/configuration.py @@ -134,7 +134,7 @@ class ConfigurationService(BaseService): perf_mode: Whether to enable performance mode immediate_mode: Whether to enable immediate present mode (disable vsync) disable_vkbasalt: Whether to disable vkbasalt layer - frame_cap: Frame rate cap value (10-60) + frame_cap: Frame rate cap value (0-60, 0 = disabled) Returns: ConfigurationResponse with success status @@ -182,7 +182,7 @@ class ConfigurationService(BaseService): perf_mode: Whether to enable performance mode immediate_mode: Whether to enable immediate present mode disable_vkbasalt: Whether to disable vkbasalt layer - frame_cap: Frame rate cap value (10-60) + frame_cap: Frame rate cap value (0-60, 0 = disabled) Returns: Generated script content diff --git a/py_modules/lsfg_vk/plugin.py b/py_modules/lsfg_vk/plugin.py index 7cda63a..7dcda4e 100644 --- a/py_modules/lsfg_vk/plugin.py +++ b/py_modules/lsfg_vk/plugin.py @@ -84,7 +84,7 @@ class Plugin: perf_mode: Whether to enable performance mode immediate_mode: Whether to enable immediate present mode (disable vsync) disable_vkbasalt: Whether to disable vkbasalt layer - frame_cap: Frame rate cap value (10-60) + frame_cap: Frame rate cap value (0-60, 0 = disabled) Returns: ConfigurationResponse dict with success status diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx index 6c6f50a..ab1e1b7 100644 --- a/src/components/ConfigurationSection.tsx +++ b/src/components/ConfigurationSection.tsx @@ -124,17 +124,7 @@ export function ConfigurationSection({ value={config.frameCap} min={0} max={60} - step={5} - notchCount={7} - notchLabels={[ - { notchIndex: 0, label: "Off" }, - { notchIndex: 1, label: "10" }, - { notchIndex: 2, label: "20" }, - { notchIndex: 3, label: "30" }, - { notchIndex: 4, label: "40" }, - { notchIndex: 5, label: "50" }, - { notchIndex: 6, label: "60" } - ]} + step={1} onChange={onFrameCapChange} /> </PanelSectionRow> |
