From 733510d85d0494c85fa6e58709ac99cadb4bb6f2 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 13 Sep 2026 13:45:48 +0200 Subject: [PATCH] fix: a modification carries the deck's theme over (the edit the last commit described) Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01Dv6sqaY6Vq3ChZHMem3cnU --- src/routes/myResources.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/routes/myResources.js b/src/routes/myResources.js index 1a2bfc94..906d01b5 100644 --- a/src/routes/myResources.js +++ b/src/routes/myResources.js @@ -830,6 +830,9 @@ router.post('/my-resources/:id/refine', async function (req, res) { revisedDeck.title = existingDeck.title; revisedDeck.subtitle = existingDeck.subtitle; revisedDeck.date = existingDeck.date; + // The look is the author's, not the model's: a modification never + // resets the theme. The column keeps it too, but the two should agree. + revisedDeck.theme = existingDeck.theme || existing.theme || revisedDeck.theme; // Draw whatever the revised deck asked for, the same way generating does, // so each new figure belongs to the slide that wanted it. if (sources.wantsImages) {