Keep GPS watermark user-owned across presets; add pinch/double-tap zoom to photo preview; collapse chrome strip on WB selection
This commit is contained in:
@@ -122,12 +122,17 @@ export default function AdjustmentPanel({
|
||||
|
||||
const toggleParam = (key: string) => {
|
||||
haptic();
|
||||
// One auxiliary row at a time: opening a slider closes any option strip.
|
||||
setOpenGroup(null);
|
||||
onOpenParamChange(openParam === key ? null : key);
|
||||
};
|
||||
|
||||
const toggleGroup = (g: GroupKey) => {
|
||||
haptic();
|
||||
setOpenGroup((prev) => (prev === g ? null : g));
|
||||
const next = openGroup === g ? null : g;
|
||||
// Opening an options strip closes any open slider row (single-row rule).
|
||||
if (next) onOpenParamChange(null);
|
||||
setOpenGroup(next);
|
||||
};
|
||||
|
||||
const a = adjustments;
|
||||
@@ -245,6 +250,9 @@ export default function AdjustmentPanel({
|
||||
};
|
||||
const wbApply = (val: string) => {
|
||||
setWbChoice(val);
|
||||
// Choosing a preset is a deliberate look switch: collapse any open chrome
|
||||
// options strip so it never lingers above the chips row.
|
||||
setOpenGroup(null);
|
||||
const p = WB_PAIRS[val] ?? WB_PAIRS.auto;
|
||||
onUpdateAdjustments({ temperature: p.t, tint: p.ti });
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user