Files
photocraft/crates/engine/src
Lcoding15 dce32b66d8 engine: Free Transform takes soft edges whole after a move (#10461)
After moving selected pixels, the selection is the moved pixels' alpha
(#7538, measured in Photoshop). Free Transform split the layer by
multiplying the selection into each pixel, so a soft edge pixel of
alpha a was lifted as a² and a × (1 − a) of it stayed behind: a grey
outline of the shape at its old place.

`split_selected` now lifts the selection's share of each pixel's
coverage, up to all of it, as moving selected pixels already does
(`float_cmds::cut_piece`, #7655). Opaque pixels still split as k and
1 − k, and fully selected pixels move whole, as before. Warp, Distort
and the live transform preview share the function.
2026-10-31 14:05:02 +01:00
..
…
…
…
…
…
…
…