mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 09:26:43 +00:00
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.