summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2025-10-20 14:20:32 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2025-10-20 14:20:32 -0400
commitf2a2f4a126c5b60a2f8115c850883ccb8d736825 (patch)
tree979077641f08e826a05dc7e560ee164be80b01d2 /src
parent6c1b16cc4ecd1dc6c28882374419653538dca8f9 (diff)
downloaddecky-lsfg-vk-f2a2f4a126c5b60a2f8115c850883ccb8d736825.tar.gz
decky-lsfg-vk-f2a2f4a126c5b60a2f8115c850883ccb8d736825.zip
chore: move fps mul to top
Diffstat (limited to 'src')
-rw-r--r--src/components/ConfigurationSection.tsx3
-rw-r--r--src/components/Content.tsx21
2 files changed, 15 insertions, 9 deletions
diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx
index 632c3a0..eeacf05 100644
--- a/src/components/ConfigurationSection.tsx
+++ b/src/components/ConfigurationSection.tsx
@@ -2,7 +2,6 @@ import { PanelSectionRow, ToggleField, SliderField, ButtonItem } from "@decky/ui
import { useState, useEffect } from "react";
import { RiArrowDownSFill, RiArrowUpSFill } from "react-icons/ri";
import { ConfigurationData } from "../config/configSchema";
-import { FpsMultiplierControl } from "./FpsMultiplierControl";
import {
FLOW_SCALE, PERFORMANCE_MODE, HDR_MODE,
EXPERIMENTAL_PRESENT_MODE, DXVK_FRAME_RATE, DISABLE_STEAMDECK_MODE,
@@ -111,8 +110,6 @@ export function ConfigurationSection({
{!configCollapsed && (
<>
- <FpsMultiplierControl config={config} onConfigChange={onConfigChange} />
-
<PanelSectionRow>
<SliderField
label={`Flow Scale (${Math.round(config.flow_scale * 100)}%)`}
diff --git a/src/components/Content.tsx b/src/components/Content.tsx
index 71329ad..24dcb5f 100644
--- a/src/components/Content.tsx
+++ b/src/components/Content.tsx
@@ -10,6 +10,7 @@ import { ProfileManagement } from "./ProfileManagement";
import { UsageInstructions } from "./UsageInstructions";
import { SmartClipboardButton } from "./SmartClipboardButton";
import { FgmodClipboardButton } from "./FgmodClipboardButton";
+import { FpsMultiplierControl } from "./FpsMultiplierControl";
import { NerdStuffModal } from "./NerdStuffModal";
import { FlatpaksModal } from "./FlatpaksModal";
import { ConfigurationData } from "../config/configSchema";
@@ -98,13 +99,13 @@ export function Content() {
/>
</>
)}
-
- {/* Clipboard buttons - only show if installed */}
+
+ {/* FPS multiplier controls stay above profile selection when installed */}
{isInstalled && (
- <>
- <SmartClipboardButton />
- <FgmodClipboardButton />
- </>
+ <FpsMultiplierControl
+ config={config}
+ onConfigChange={handleConfigChange}
+ />
)}
{/* Profile Management - only show if installed */}
@@ -126,6 +127,14 @@ export function Content() {
/>
)}
+ {/* Clipboard buttons sit beside usage info for quick access */}
+ {isInstalled && (
+ <>
+ <SmartClipboardButton />
+ <FgmodClipboardButton />
+ </>
+ )}
+
{/* Usage instructions - always visible for user guidance */}
<UsageInstructions config={config} />