summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--py_modules/lsfg_vk/configuration.py4
-rw-r--r--py_modules/lsfg_vk/plugin.py2
-rw-r--r--src/components/ConfigurationSection.tsx12
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>