mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-30 11:12:24 +01:00
* update brush button * ui brush duplicated highlight fix * formatting fix + locale * i18n: translate "Update the current brush with these settings" in remaining complete catalogs * Tip Shape picks the tip only; set_brush records the preset once accepted - A click in the Brush Tip Shape grid copies the tip fields only (main's Photoshop behaviour: the dynamics sections stay); the picked preset is marked current with brush.presets.setCurrent instead of a whole-preset tools.setBrush, so identity-based selection still tracks it. - tools.setBrush sets current_preset only after the brush merged and validated, so a failed call leaves no state behind; a reset still wins over a preset in the same call. Tested. - brush.presets.save / brush.defineFromSelection append at the end again (insert-after-the-copied-brush had no Photoshop reference). * Brush presets: forget the picked preset when the tool's brush swaps; no indexing in brush.presets.update Each painting tool keeps its own brush (#218), so Update Brush could overwrite the preset picked with one tool with another tool's brush. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: JJ <jj@dot.com> Co-authored-by: Brandon Thomas <echelon@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>