Land camera-native raw profiles, real ICC soft proofing and 16-bit proxies.
Camera profiles, proofing tables and the half-float sidecar all have to agree with the pixels the editor actually grades, so they land together with the preset filter menu that was unusable while thumbnails streamed in. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { useEffect, useRef, useState } from 'react';
|
||||
import { memo, useEffect, useRef, useState } from 'react';
|
||||
import { thumbTransform } from '../lib/edits';
|
||||
import { useEditedThumb } from '../lib/editThumbs';
|
||||
import type { PhotoRecord } from '../types';
|
||||
@@ -19,7 +19,7 @@ interface Props {
|
||||
* server/import thumbnail and the CSS orientation transform. Rendering starts
|
||||
* only when the tile is close to the viewport.
|
||||
*/
|
||||
export default function EditedImage({
|
||||
function EditedImage({
|
||||
photo,
|
||||
boxAspect = 4 / 3,
|
||||
alt,
|
||||
@@ -62,3 +62,9 @@ export default function EditedImage({
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Memoised: a selection change on the library re-renders the whole grid, and a
|
||||
* picture whose photo, size and props did not change has no work to redo.
|
||||
*/
|
||||
export default memo(EditedImage);
|
||||
|
||||
Reference in New Issue
Block a user