mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
The Classic gradient's Mode list lists Behind third, after Normal and Dissolve, with no Clear; it is greyed on the Background, as the Paint Bucket's. A drag in Behind paints only the layer's transparency. paint_gradient takes a FillMode, so paint.gradient can composite with the existing Behind fill. paint.gradient parses `mode` with the Paint Bucket's parser: `behind` is accepted, `clear` and unknown names are an error naming the mode instead of a silent Normal. Co-Authored-By: Claude Opus 5.5 <[email protected]>