Swap the default placement order of Fill and Stroke nodes in layers (#3789)

This commit is contained in:
Keavon Chambers
2026-02-19 13:15:11 -08:00
committed by GitHub
parent 3f999bf231
commit 258748ec51
8 changed files with 33 additions and 31 deletions

View File

@@ -550,6 +550,7 @@ fn clamp<T: std::cmp::PartialOrd>(
min: T,
/// The right (greater) side of the range. The output is never greater than this number.
#[implementations(f64, f32, u32, &str)]
#[default(1)]
max: T,
) -> T {
let (min, max) = if min < max { (min, max) } else { (max, min) };