Allow effect values at 0.1 precision

This commit is contained in:
Jage9
2026-02-21 03:10:53 -05:00
parent f52cc04f26
commit dd48c01601
4 changed files with 6 additions and 6 deletions

View File

@@ -21,7 +21,7 @@ export type EffectRuntime = {
export function clampEffectLevel(value: number): number {
const clamped = Math.max(0, Math.min(100, value));
return Math.round(clamped / 5) * 5;
return Math.round(clamped * 10) / 10;
}
export function disconnectEffectRuntime(runtime: EffectRuntime | null): void {