Hang the wall frame landscape too, beside the portrait one

This commit is contained in:
2026-09-17 21:58:18 +07:00
parent f1174b8c57
commit 9ba2667c6c
6 changed files with 22 additions and 9 deletions
+7 -1
View File
@@ -1,4 +1,10 @@
export type FrameId = 'none' | 'polaroid' | 'classic-white' | 'cinematic' | 'wallframe';
export type FrameId =
| 'none'
| 'polaroid'
| 'classic-white'
| 'cinematic'
| 'wallframe' // WALL FRAME PORTRAIT — the artwork hung 90° CW
| 'wallframe-landscape'; // the same artwork upright: WALL FRAME LANDSCAPE
// Viewfinder/composition aspect-ratio selector. Convention is an UPRIGHT
// (portrait) picture: "4:3" = standing 3:4 photo (w/h = 3/4), "3:2" = standing
+1 -1
View File
@@ -12,7 +12,7 @@ const KEY = 'RecipesCam::recipe-share::v1';
const ALGORITHM = 'xor16-v1';
const BASE_FILTERS: BaseFilter[] = [...FILM_SIMS.map((s) => s.baseFilter), 'none'];
const FRAMES: FrameId[] = ['none', 'polaroid', 'classic-white', 'cinematic', 'wallframe'];
const FRAMES: FrameId[] = ['none', 'polaroid', 'classic-white', 'cinematic', 'wallframe', 'wallframe-landscape'];
const hash = (s: string): number => {
let h = 0x811c9dc5;