The ruler pre-fill stored the raw straightening angle, and only a drawn
frame rounded it, so `ui.dialog.open` then `ui.dialog.confirm` with no
frame between them sent 32.1249984 instead of 32.12. Round it in f64 to
the field's two decimals where it is filled, on open and on Alt+Reset.
As measured in the reference application on a one-layer RGB document:
the layer menu with no selection, the selection menu with the pointer
inside it. The cases not measured keep opening nothing.
Adds step-security/harden-runner (audit, pinned to v2.22.4 like
craft-common-actions) as the first step of each job that did not have it,
so every workflow in the org's public repos reports its egress to
StepSecurity. Audit, not block: block-mode allow lists come from each
job's observed traffic.
The Clone Stamp set a status-bar line when no source point was defined. It now opens the
reference application's alert at the press ("Could not use the clone stamp tool because the
area to clone has not been defined (Alt-click to define a source point)."), once while it is up,
and starts no drag. The Healing Brush keeps its status line.
The Pen lists its modes as the reference application does: Shape, Path,
Pixels, with Pixels greyed. The Freeform and Curvature Pens keep Path,
Shape. A new dropdown_enabled greys entries without the wheel stepping
that dropdown_wheel_grouped_enabled adds, and keeps the value when the
arrow keys or type-ahead land on a greyed entry.
Running out of staging names returned AlreadyExists, which the
PublishNewError docs tell callers to read as "destination taken, pick
another name". It is now a plain error. When the staging cleanup retry
fails too, the error names the leftover staging file. rename_noreplace
documents that it renames files only.
Co-Authored-By: yoriswind <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The question also stores the document's revision: an edit while it is
open (an anchor added through the control channel, the question being
modal on screen) shifts the stored knot index, so Yes is refused rather
than deleting another anchor. Test: yes_after_the_path_changed_deletes_nothing
(red before: Yes deleted an anchor of the edited path).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A wide field that shows two decimals (Image Rotation > Arbitrary's Angle)
now rounds its stored value while it is still f64, before the widget
narrows it to f32. A 43x27 ruler's 32.1249984 degrees narrowed to exactly
32.125 and the first frame after opening or Alt+Reset drew 32.13 over the
32.12 the dialog kept. The rounded value is also stored as f64, so OK
sends exactly 32.12 rather than the 32.1199989 an f32 widens to.
CodeRabbit on #13206: docs/multi-channel-editing.md displays before/after
comparisons, which the rule keeps; it targets screenshots that only show a
PR's change.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A sampler drag leaves the stored point where it was until release, but the
canvas cursor hit-tested the stored points. Once the pointer left the 7 px
tolerance mid-drag, the cursor switched to the placement eyedropper. While
Drag::Sampler is active the cursor now stays the arrow with the sampler
target, and Alt shows no scissors: Alt removes only on the press.
AGENTS.md rule 6 and docs/images/SOURCES.md now say docs/images holds only
images the README or a doc displays. Removes the nine PR before/after
captures nothing references (gradient-overlay-method, guide-position,
native-pipette-macos, preferences-apply; 1.9 MB) and their ATTRIBUTION.md
rows.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The only conflict: main made the targeted-path tests' setup pub(crate)
(Convert Point's tests use it); this branch splits it into setup (the
live-shape question dismissed) and setup_asking. Both kept, with main's
visibility.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
#12523 shows the pipette as an OS cursor bitmap on native root viewports,
where the output is the visible-fallback Crosshair plus the bitmap, not the
drawn pipette's CursorIcon::None. Tests from #12145 and #12301 still looked
for the drawn pipette and failed on Windows unit.
tool_cursor::pipette_shown checks for the pipette either way (the exact
bitmap natively, the drawn one elsewhere), and the sampler, caps lock and
mixer cursor tests use it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The question stores its document (`__document`, as the Color Picker
does) and Yes is refused once another document is active, so the
stored path.deleteAnchor parameters never run against another
document's layers. Test: yes_after_another_document_became_active_deletes_nothing.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reset Tool gave the Remove tool the default brush's 20 px, and its first pick took the previous tool's brush. The reference measures 19 px: Reset Tool and Reset All Tools now give it 19 px, and the first pick takes 19 px and keeps the rest of the current brush, as today; hardness and spacing are not measured.
Tests that set a brush before first picking the Remove tool now pick it first, so the brush they set is the Remove tool's.
Bend, H and V store the tenth they show once the field is left (12.345 -> 12.3). Commit and Cancel use Free Transform's tooltips and Reset reads "Reset the warp". The bar starts with Free Transform's reference point check box and grid, greyed and inert, before Split (#12503).
paint.bucket returns the reference's error text before it reads the
region or copies the document, so nothing changes and no History state
is added. A canvas click shows the text as a modal alert with OK.