swatch_in_doc now converts swatches in an 8-bit Monotone document as well,
through a gamma 2.2 grey, which fits the reference application's measured
values there (200,30,30 -> 104, 30,30,200 -> 64, 140,140,140 -> 139) where
sGray (the Grayscale document's curve) gives 61 and 140. Duotones with more
inks and 16-bit Duotones were not measured and keep the luma.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Its Grayscale cases need the Stroke apart from the blue fill. With the fill
now written as the measured grey (70), the red Stroke's luma grey (76) came
too close; yellow stays apart in every mode and keeps the RGB checks.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
In a Grayscale document Edit > Fill with Color or Foreground Color wrote the
colour's plain luma (blue gave 29). Both now go through swatch_in_doc as
Background Color already did (blue gives 70; the reference measured 69).
Picked CMYK inks are still matched on the colour as picked, and other modes
are unchanged.
The fill-layer test no longer expects a Grayscale Solid Color layer to equal
Edit > Fill; the layer was not measured and keeps its luma grey.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Main's dialog is craft-libs' shared one; craft-libs#4263 gave it
Options::undo = UndoButtons::Toggle, which PhotoCraft now turns on. The test
records a key over Copy's in the detail pane, then steps it with the one
button: Undo gives the key back and the button reads Redo, Redo puts it back.
Main moved the tool's press and drag handling into craft-libs, so the
app-side snap_start is gone. storytold/craft-libs#4274 put the rule in
the framework's PerspectiveCropTool, which snaps through the canvas's
Snap the app already gives. Pin craft-libs at its current main, which
carries it, and port the tests to the new tool: a drag from beyond a
corner starts at it (also while dragging), one near an edge starts on
it, one inside or outside on one axis stays, Snap or Document Bounds
off changes nothing, and clicked corners stay put.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Character panel had no anti-aliasing control; it lived only in the
Properties panel's Type Options section and the Type › Anti-Alias menu.
The panel now ends with a select under an "aa" mark: the seven methods
in menu order, the Windows ones after a separator, showing the selected
layer's method (or the Type tool's option without a type layer).
A pick goes through the same apply_bar_events path as Type Options:
type.antiAlias.* on every selected type layer as one history step, or
only the Type tool's option, with no document edit, when no type layer
is selected. Properties keeps its single select in Type Options.
#17711 leaves the Background active unmeasured, and naming the targeted
channel changed its title from "(RGB/8)" to "(Red/8)". Only a pixel layer
names its channel; the Background keeps the mode, as before.
The tab says "(Top, RGB/8)" while an alpha channel or one colour channel is
targeted, and drops the layer's name in Quick Mask mode. Photoshop names the
paint target there: the alpha channel's own name, the colour channel's, or the
Quick Mask after the layer.
Main's craft-libs pin (9ad1dbf, #17809) already contains craft-libs#4160
and fixes the paper list and Preferences tests on its own, so those sides
come from main; the Preferences "Limit to" label is dropped for main's fix.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Adopt merged retained UI and paint storage across PhotoCraft
* Adapt UI inspections and preference labels to the shared revision
* Share retained-paint text inspection across UI tests
The lead is a memoized view, and a memoized view's children take no slots on the
bar's row line: they stood at the top of the view, Home and the tool icon about
6 px above the options after them and the small arrow higher still. The lead's
members now sit in a row of their own, as PaintBar's do.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Select Layer Below on the bottom row of the Layers panel now selects the
top row, and Select Layer Above on the top row the bottom one, as in the
reference application. Adding the layer above or below to the selection
(Alt+Shift+[ / ]) still stops at the ends, since that case wasn't
measured.
With the newer craft-libs pin the Print dialog's paper list opens
scrolled to the chosen paper and ends on its last whole row, so A4 sits
above the view when Custom is chosen. reveal() now scrolls down to the
end, then up to the top, before it gives up.
Co-Authored-By: Claude Opus 5.5 <[email protected]>