feat(presets): add LEICA simulation chip; collapse recipe strip on sim select

This commit is contained in:
2026-09-09 11:32:30 +07:00
parent 09dbc72cce
commit bd7efce600
4 changed files with 29 additions and 2 deletions
+7 -1
View File
@@ -302,7 +302,13 @@ export default function AdjustmentPanel({
key: s.id,
label: s.name,
active: currentRecipeId === s.id,
onPress: () => onSelectRecipe(filmSimToRecipe(s)),
// Choosing a simulation is a deliberate switch away from the saved
// recipes: collapse the RECIPES strip above so it never lingers
// over the freshly-applied sim.
onPress: () => {
setShowRecipes(false);
onSelectRecipe(filmSimToRecipe(s));
},
})),
{
key: 'recipes-toggle',