The reference application keeps a (+60, -25) Shift drag of an anchor horizontal, just past the 22.5 degree split of snap45. A new snap45_anchor keeps drags up to that slope on the axis; steeper drags and the Gradient tool's snap45 are unchanged.
A group has no pixels of its own, so with Sample All Layers off Quick
Selection fell back to the composite and a click selected a whole shape
from the layers inside. The reference application selects only the brush
disc there, as on a flat area. Quick Selection now reads a flat image for a
group (not an artboard) when Sample All Layers is off; with it on, and for
an adjustment layer, it reads the composite as before.
* Live stroke canvas test: wait for the stroke to settle before the drawing picture (#13477)
The live stroke paints on its own thread and a frame waits only 6 ms for it.
A step that finishes later is collected only by the next pointer event, so on
a slow runner the "drawing" picture could show the stroke one step behind and
release painted the rest (76/255 on CI). The test now holds the pointer still
(repeats its last move) and takes pictures with short real waits until three
in a row match, bounded so it can't hang.
Test-only change.
* Live stroke canvas test: also wait for the stroke to go idle (#13477)
Matching pictures alone don't prove a slow step has finished, so the settle loop
now also requires the live stroke to be idle. PhotocraftApp::live_stroke_busy
exposes the existing internal check read-only for that.
* Fail the live stroke test if settling times out
---------
Co-authored-by: FredApps <[email protected]>
With Path Selection and Ctrl/Cmd held alone, a press on an anchor, handle
or segment goes through Direct Selection, so a Ctrl-drag on one anchor
moves only that anchor in one History step. Releasing Ctrl goes back to
Path Selection. Ctrl with Alt or Shift keeps today's behaviour (not
measured in the reference application).
With a base bent toward the tip, the shaft stopped where the bent base
crosses its edge and left the wedge up to the base's middle unfilled. The
shaft's end now follows the bent base to its middle, which fills the wedge
without reaching past the head's flanks, matching the reference outline.
shape.create / shape.edit round arrowConcavity to a whole percent, as the
gear and Properties fields do.
Concavity is a whole number from -50 % to 50 % of the head's length, as in
Photoshop. A negative value bends the head's base away from the tip, and the
shaft now ends where the bent base crosses the shaft's edge. Values outside
the range (documents, PSDs and settings saved with the old 0..100 range) are
clamped to the nearest end instead of failing.
- vector: arrow_line bends the base by concavity x length, both directions
- engine: shape.create / shape.edit take arrowConcavity in -50..=50
- io: PSD import keeps negative concavity, clamped to -50..50
- ui: gear and Properties Concavity are whole-number fields with the
"Closest value inserted" alert; the gear menu stays open on clicks inside
so a value can be typed
Main's other_tools_keep_their_reset_sizes (#12548) still listed the Pencil
at the old 20 px reset size; with #12200 the Pencil resets to its 1 px hard
round.
Co-Authored-By: ElNeMeR70 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Main gave the Smudge tool its own reset tip and the Remove tool its 19 px
size; the fresh_brush doc keeps both sides' tool lists. The cursor test
failures on the PR's last run were main's at the old base (fixed on main
by 79a33dae9c).
Co-Authored-By: ElNeMeR70 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The two comments the PR adds named the reference product by its trademark;
public text says "reference application".
Co-Authored-By: RickiNano <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The colour and opacity bakes sample the same 97 positions, but apply_opacity cut every interval
into four (385 stops), and paint_gradient scans the stops for every pixel. Multiply the alpha in
at each shared position instead; other positions still go through apply_opacity. Raised by
CodeRabbit.
Co-Authored-By: x-labb <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>