Reopen advanced edits from their saved recipe, seed or take over the quick editor from them, refresh thumbnails after a save, and add an edited-only download. Also fixes the Lumenroom library collapsing to slivers on large shoots and documents deploying both containers on a new host. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
||||
import { ASPECTS, defaultEdits, thumbTransform } from '../lib/edits';
|
||||
import { getBitmap } from '../lib/images';
|
||||
import { getBitmap, thumbSrc } from '../lib/images';
|
||||
import { rotatedBounds, Renderer } from '../gl/renderer';
|
||||
import type { Edits, EventRecord, PhotoRecord, Preset } from '../types';
|
||||
import ContextMenu, { type MenuEntry } from './ContextMenu';
|
||||
@@ -703,7 +703,7 @@ export default function Develop({
|
||||
title={p.name}
|
||||
>
|
||||
<img
|
||||
src={p.thumbUrl ?? p.thumb}
|
||||
src={thumbSrc(p)}
|
||||
alt={p.name}
|
||||
loading="lazy"
|
||||
draggable={false}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { useRef, useState } from 'react';
|
||||
import { COLOR_LABELS, isEdited, thumbTransform } from '../lib/edits';
|
||||
import { draggedPhotoIds, endDrag, PHOTO_DRAG, startPhotoDrag } from '../lib/drag';
|
||||
import { thumbSrc } from '../lib/images';
|
||||
import type { ColorLabel, Flag, PhotoRecord } from '../types';
|
||||
import Stars, { ColorSwatches, FlagButtons } from './Stars';
|
||||
|
||||
@@ -312,7 +313,7 @@ export default function LibraryGrid({
|
||||
>
|
||||
<div className="card-thumb">
|
||||
<img
|
||||
src={p.thumbUrl ?? p.thumb}
|
||||
src={thumbSrc(p)}
|
||||
alt={p.name}
|
||||
loading="lazy"
|
||||
draggable={false}
|
||||
|
||||
@@ -4,7 +4,7 @@ import { computeAutoEdits } from '../lib/auto';
|
||||
import { clamp } from '../lib/curves';
|
||||
import type { CurveChannel, Edits, EventRecord, HistoryEntry, PhotoRecord, Preset } from '../types';
|
||||
import CurveEditor from './CurveEditor';
|
||||
import { getBitmap } from '../lib/images';
|
||||
import { getBitmap, thumbSrc } from '../lib/images';
|
||||
import { grainSampleWindow, rotatedBounds, Renderer } from '../gl/renderer';
|
||||
import { applyFilmVariant, FILM_VARIANTS, type FilmVariant } from '../lib/presets';
|
||||
import { usePresetThumbs } from './PresetThumbs';
|
||||
@@ -653,7 +653,7 @@ export function NavigatorPanel({ photo }: { photo: PhotoRecord }) {
|
||||
</div>
|
||||
<div className="navigator-thumb">
|
||||
<img
|
||||
src={photo.thumbUrl ?? photo.thumb}
|
||||
src={thumbSrc(photo)}
|
||||
alt={photo.name}
|
||||
style={{ transform: thumbTransform(photo) }}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user