mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Swap the default placement order of Fill and Stroke nodes in layers (#3789)
This commit is contained in:
@@ -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) };
|
||||
|
||||
Reference in New Issue
Block a user