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) {