fix(book): the auto layout's drawn templates no longer carry photos of the book they were drawn in

Three photo frames in the templates kept the photo ids of the journey the
templates were read out of (68 and 69). Only empty frames take an entry's
photos, so every book laid out on those templates pointed at those ids: a
broken picture on most installs, and on one where the id exists, someone
else's photo or an unrelated one of the user's own. The frames are empty
now and take the entry's photos like the others. The parity digests of the
five spreads that use them are written anew, as the spec asks for a
deliberate layout change.
This commit is contained in:
Maurice
2026-10-24 16:59:53 +02:00
parent 3c73da4427
commit 8dacd0a50c
2 changed files with 8 additions and 8 deletions
+5 -5
View File
@@ -65,7 +65,7 @@
"B/full/spread/0": "ac843317bb8d097c",
"B/full/spread/1": "bf4b62404c36aa0e",
"B/full/spread/2": "1af653e4557c90b9",
"B/full/spread/3": "f766c7b6a3cad0fa",
"B/full/spread/3": "b094a0b5aa67b2c0",
"B/full/relayout/3": "c0f3d2e84826b420",
"B/full/spread/4": "8563f01a381c3b8b",
"B/full/spread/5": "2458025780d8cbf3",
@@ -85,14 +85,14 @@
"C/full/head": "0ffba0f701b7ccaa",
"C/full/spread/0": "ee87e9e195e1edde",
"C/full/spread/1": "bf4b62404c36aa0e",
"C/full/spread/2": "973ed5d0aacb1063",
"C/full/relayout/2": "973ed5d0aacb1063",
"C/full/spread/2": "b40cfdb0e5bea780",
"C/full/relayout/2": "b40cfdb0e5bea780",
"C/full/spread/3": "8eb39a4e9d726f5e",
"C/full/relayout/3": "8eb39a4e9d726f5e",
"C/full/spread/4": "5a037193ef347c07",
"C/full/relayout/4": "5a037193ef347c07",
"C/full/spread/5": "71c9f776ce8ffc87",
"C/full/relayout/5": "71c9f776ce8ffc87",
"C/full/spread/5": "b6dedb14199ad559",
"C/full/relayout/5": "b6dedb14199ad559",
"C/full/spread/6": "0debcd2babd7ee6b",
"C/full/relayout/6": "0debcd2babd7ee6b",
"C/full/spread/7": "2458025780d8cbf3",
+3 -3
View File
@@ -281,7 +281,7 @@ export const AUTO_TEMPLATES: readonly AutoTemplate[] = [
opacity: 1,
locked: false,
kind: 'photo',
photoId: 69,
photoId: null,
fit: 'cover',
focalX: 0.42168673729754674,
focalY: 0.23833399057977409,
@@ -436,7 +436,7 @@ export const AUTO_TEMPLATES: readonly AutoTemplate[] = [
opacity: 1,
locked: false,
kind: 'photo',
photoId: 68,
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
@@ -457,7 +457,7 @@ export const AUTO_TEMPLATES: readonly AutoTemplate[] = [
opacity: 1,
locked: false,
kind: 'photo',
photoId: 69,
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,