feat(studio & library): sync Light & Color tab parameters (vibrance, highlight, shadow, white, black) to Gradient Mask & add multi-field sorting options
This commit is contained in:
@@ -2676,7 +2676,7 @@ export function Workspace() {
|
||||
// this helper too: same ±10 unit, same ×10 ruler, same green↔magenta gain, read
|
||||
// on the mask's pixels — a local white balance.
|
||||
const maskKnobRow = (
|
||||
key: 'highlights' | 'shadows' | 'whites' | 'blacks' | 'clarity' | 'dehaze' | 'tint',
|
||||
key: 'highlights' | 'shadows' | 'whites' | 'blacks' | 'clarity' | 'dehaze' | 'tint' | 'vibrance',
|
||||
label: string
|
||||
): SliderDef => {
|
||||
const v = selMask?.[key] ?? 0;
|
||||
@@ -2752,6 +2752,7 @@ export function Workspace() {
|
||||
onChange: (v) => setMaskKnob({ saturation: Math.round(v) / 10 }),
|
||||
onReset: () => setMaskKnob({ saturation: 0 }),
|
||||
},
|
||||
maskKnobRow('vibrance', 'VIBRANCE'),
|
||||
maskKnobRow('highlights', 'HIGHLIGHT'),
|
||||
maskKnobRow('shadows', 'SHADOW'),
|
||||
maskKnobRow('whites', 'WHITE'),
|
||||
|
||||
Reference in New Issue
Block a user