Adds an Alt+right-drag test (resizes, samples nothing), checks the
foreground while an Alt-drag is still held, that a plain click clears the
pixel, and that Control+Alt-drag changes the brush size.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Holding Alt with the Background Eraser now turns it into the Eyedropper
for that press, as with the Brush, Pencil, Gradient and Paint Bucket: a
click or drag sets the foreground colour, adds no history state and
changes no pixel, and the cursor shows the pipette. Control+Alt stays the
brush-resize gesture.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
With no inverse map, the offset now comes from the pseudo-inverse of the box map's linear part, not from how far the top-left corner moved.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Conflicts: psd_import.rs (main's vector_preview field kept, the SmartObject
still built as a binding so pin_puppet_meshes runs), smart_cmds/rendering.rs
(main's JobCtx argument kept next to the PR's placed_puppet_params).
Co-Authored-By: Tungtono <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Main gained its own live Mixer Brush in #3627 (engine `cmd/brush_cmds/mixer_live.rs`, the
release path in `canvas/gesture.rs`), so this merge takes main's side for the engine, paint,
docs and scorecard files and drops this PR's parallel `LiveMixer` API and its engine test.
What stays from #5238 is the paint order: while a live painting tool is selected (and no dialog
owns the canvas), the image is prepared after this frame's pointer and navigation input, so a
dab or a wheel pan/pinch zoom shows in the frame it happens instead of one frame later. Ported
onto main's split `canvas.rs`, with its tests in `canvas/live_frame_tests.rs` and
`tests/it/live_stroke_canvas.rs`, adjusted for main (the removed `interface.enableAnimations`
preference, the new wheel event `source`, and the Mixer release that commits its preview pixels).
Co-Authored-By: bommerts <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
main added preferences since the PR's last merge, so the toolColors field now
makes it 10 of 195 settings that do nothing (was 10 of 194 on main); the
ui-parity preference row follows the scorecard.
Co-Authored-By: GyoJoong Kum <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Type tool's default font size is 50 pt, not 48 pt. Measured in the
reference application: after Reset All Tools the size field reads 50 pt,
the same in an 800x600 document at 72 ppi, a 3000x2000 document at 300
ppi and a 100x100 document at 72 ppi, and the scripted tool options
report size=50 in points.
`type_size` had one place where the number lived, so a fresh install,
Reset Tool and Reset All Tools (`tool_reset::reset_options` /
`reset_all`) and the fallback for a damaged remembered value
(`tool_memory::sanitize`) all follow the same constant. Tool options
saved by an older version are still restored field by field, so a
saved 48 pt stays 48 pt.
Tests go in the new `state/type_default_size_tests.rs`. `state.rs` only
gains the `mod` line the test file needs.
Main moved the files this PR changed (engine/src/cmd/edit_menu_cmds/fade.rs,
ui-egui/src/canvas/filter_preview.rs, dialogs/filter_dialog.rs) and Fade now also
fades alpha channels and the Quick Mask. The preview is ported onto that:
- engine: fade_preview captures the blend (FadePreview) from the session; render()
blends it on a copy that shares the document's tiles, so only the faded area is
blended and rewritten (review: no whole-surface copy).
- ui-egui: the blend and the flatten run on the filter preview worker in the
desktop app, like every filter preview, and inline on the web.
- tests: the preview matches OK for alpha channels and the Quick Mask too; the
dialog test previews, cancels (document, history and Fade unchanged), then OKs
on both the worker and the inline path.
Co-Authored-By: Korg1ch <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
main moved brush_sections.rs to panels/ with its tests in
panels/brush_sections/tests.rs, and gave the Angle and Roundness fields
accessible names. Keep the PR's left column and right-hand widget with
main's accessible names, move the PR's three layout tests and
section_harness_width into the new tests file, and find the captions with
main's caption_rect (get_by_label now also matches the named fields).
Docs: both sides' status entries kept.
Co-Authored-By: augrclk <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Measured in the reference application: carrying an open Curvature Pen
path on from its endpoint gives exactly the handles of a path drawn
from that endpoint on. The endpoint keeps its incoming handle and its
outgoing one is the new run's first handle, so two arcs meet in a cusp.
The PR bent the outgoing handle in line with the incoming one instead,
which sent the new segment off the other way. The first knot's incoming
handle on closing still stays in line with its outgoing one, as there.
Co-Authored-By: Lcoding15 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>