feat: adjust max and step values for sharpen, edgeThreshold, and scanlines controls.

This commit is contained in:
syntaxbullet
2026-02-10 13:15:15 +01:00
parent faa9609254
commit 73a6681ceb

View File

@@ -93,7 +93,7 @@ import TuiButton from "./TuiButton.astro";
id="sharpen" id="sharpen"
label="SHP" label="SHP"
min={0} min={0}
max={2} max={10}
step={0.01} step={0.01}
value={0.0} value={0.0}
title="Sharpen" title="Sharpen"
@@ -133,8 +133,8 @@ import TuiButton from "./TuiButton.astro";
id="edgeThreshold" id="edgeThreshold"
label="THR" label="THR"
min={0} min={0}
max={1} max={20}
step={0.01} step={0.1}
value={0.5} value={0.5}
title="Edge Threshold" title="Edge Threshold"
description="Sets the sensitivity for edge detection. Higher values detect only strong edges." description="Sets the sensitivity for edge detection. Higher values detect only strong edges."
@@ -143,7 +143,7 @@ import TuiButton from "./TuiButton.astro";
id="scanlines" id="scanlines"
label="SCN" label="SCN"
min={0} min={0}
max={1} max={2}
step={0.01} step={0.01}
value={0.0} value={0.0}
title="Scanlines" title="Scanlines"