PhotoCraft: An open-source, photo editor written by scratch in pure Rust
Integration: #7204 outside-stroke paint composites as Normal in Dissolve mode (share carries the speckle; CPU and GPU agree)
aiongg7b7628adaad1
diff --git a/crates/compose/src/effects.rs b/crates/compose/src/effects.rsindex b8378098b..91ed66570 100644--- a/crates/compose/src/effects.rs+++ b/crates/compose/src/effects.rs@@ -2238,7 +2238,9 @@ pub(crate) fn composite_with_effects_prepared(// The stroke blended over the backdrop at full coverage.let mut blended = base.clone();let ones = Map { w, h, v: share.iter().map(|&s| if s > 0.0 { 1.0 } else { 0.0 }).collect() };- paint_fx(&mut blended, &ones, &st.paint, frame(st), anchor, big, st.common.blend, 1.0, patterns);+ // The share already carries the Dissolve choice, so the paint itself composites as Normal.+ let paint_blend = if st.common.blend == BlendMode::Dissolve { BlendMode::Normal } else { st.common.blend };+ paint_fx(&mut blended, &ones, &st.paint, frame(st), anchor, big, paint_blend, 1.0, patterns);for ((a, b), s) in acc.iter_mut().zip(&blended.px).zip(&share) {if *s > 0.0 {for c in 0..3 {