feat(frame): rename the RETRO POLAROID chip to RETRO INSTANT

This commit is contained in:
2026-09-11 10:39:30 +07:00
parent dcb74a7243
commit 6788d51fb4
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -144,7 +144,7 @@ export interface ViewfinderHandle {
flushExposureBias(): Promise<void>;
/**
* Current interactive photo reposition inside a framed library window
* (RETRO POLAROID / WALL FRAME): scale s (>=1) and the visible window-center
* (RETRO INSTANT / WALL FRAME): scale s (>=1) and the visible window-center
* as 0..1 fractions of the photo's cover plane (the area that fills the
* window at 1x). Null when no framed window is showing or the photo is
* unzoomed. App passes it to the export engine so the saved file shows
@@ -847,7 +847,7 @@ const Viewfinder = forwardRef<ViewfinderHandle, ViewfinderProps>(function Viewfi
() => createSynchronizable<number[]>([0, 0, 0, 0, 0, 0, 0, 0.5, 0.5]),
[]
);
// RETRO POLAROID on the live camera is NOT drawn in the frame pipeline: that
// RETRO INSTANT on the live camera is NOT drawn in the frame pipeline: that
// canvas is an offscreen surface in frame-pixel space which RNSkia later
// cover-fits onto the view, so frame-space geometry overflows the screen and
// cannot be aligned with the dp-space overlays. The camera just renders the
@@ -2249,7 +2249,7 @@ const Viewfinder = forwardRef<ViewfinderHandle, ViewfinderProps>(function Viewfi
const cinemaOn = cinemaEffect != null && !!cinemaParams;
const useShaderPass = !!imageFitRect && ((toneEffect != null && toneOn) || cinemaOn);
// RETRO POLAROID (library): the whole picture is contain-fitted into the
// RETRO INSTANT (library): the whole picture is contain-fitted into the
// card's photo window — nothing is masked or cropped, and the card is
// centered on the black background like a physical print. The window keeps
// the photo aspect ratio, so fit="fill" never distorts.