Convert mix and gradient value to element kernels

This commit is contained in:
Dennis Kobert
2026-08-22 22:15:03 +00:00
parent 538959ea90
commit e76dcb15aa
2 changed files with 21 additions and 8 deletions

View File

@@ -861,7 +861,7 @@ fn hex_to_color(_: impl Ctx, hex_code: String) -> List<Color> {
/// Constructs a gradient value which may be set to any sequence of color stops to represent the transition between colors.
#[node_macro::node(category("Value"))]
fn gradient_value(_: impl Ctx, _primary: (), gradient: List<GradientStops>) -> List<GradientStops> {
fn gradient_value(_: impl Ctx, _primary: (), gradient: GradientStops) -> GradientStops {
gradient
}