mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
- Tolerance defaulted to 50 and averaged alpha into the difference, so an ordinary edit (e.g. #c03030 -> #d04848) was never painted back, and a stroke that wrote nothing still left an empty History step. Photoshop's default is 0; the difference is now the larger of the mean colour change and the alpha change (the Eraser keeps colour and lowers alpha), and a stroke that writes nothing is an error instead of an empty step. - Each tile copied a source window of tile +- halo per dab: a leftward stroke or a curl across x = 64 read empty pixels there (seam), and a size-1000 click copied ~5e9 floats (11.9 s). The rotated read stays inside the dab, so it now samples the source directly; bilinear reads at pixel centres, so an unrotated dab copies the history pixel instead of a 2x2 blend. - The brush used its own history lookup (state 0 by default): it now takes the History Brush's source (history.setSource, snapshots, refusal after a canvas size change). - TOOL-213-20 is partial (8 of 10 styles, Area scales spacing); docs follow. Co-authored-by: Matt Van Horn <[email protected]> Co-authored-by: FredApps <[email protected]> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <[email protected]>