Add Base preset to reset all tone sliders to defaults
This commit is contained in:
+2
-2
@@ -450,8 +450,8 @@ def _build_tone_fn(lcs_data, contrast, brightness, saturation, color_temperature
|
||||
# Preset names for the combo widget. Actual values live in web/js/tone_preset.js
|
||||
# which syncs them into the slider widgets on the frontend.
|
||||
TONE_PRESET_NAMES = [
|
||||
"Cinematic", "HDR", "Vivid", "Dramatic", "Low Key",
|
||||
"High Key", "Warm", "Cool", "Desaturated", "Custom",
|
||||
"Custom", "Base", "Cinematic", "HDR", "Vivid", "Dramatic",
|
||||
"Low Key", "High Key", "Warm", "Cool", "Desaturated",
|
||||
]
|
||||
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ import { app } from "../../../scripts/app.js";
|
||||
// Preset values — the single source of truth for preset parameters.
|
||||
// TONE_PRESET_NAMES in nodes/intervene.py must list matching keys.
|
||||
const TONE_PRESETS = {
|
||||
"Base": { contrast: 1.0, brightness: 0.0, saturation: 1.0, color_temperature: 0.0 },
|
||||
"Cinematic": { contrast: 1.20, brightness: -0.05, saturation: 0.90, color_temperature: 0.05 },
|
||||
"HDR": { contrast: 1.40, brightness: 0.0, saturation: 1.20, color_temperature: 0.0 },
|
||||
"Vivid": { contrast: 1.10, brightness: 0.0, saturation: 1.50, color_temperature: 0.0 },
|
||||
|
||||
Reference in New Issue
Block a user