Drop the stranded ranked wrappers from the node signatures

This commit is contained in:
Dennis Kobert
2026-09-08 15:16:13 +00:00
parent c98570fd8a
commit 95ce26e36c
8 changed files with 354 additions and 376 deletions

View File

@@ -51,8 +51,8 @@ pub fn repeat_array<T>(
content: impl Node<Context<'_>, Output = (T, Attr<TransformAttr>)>,
#[default(100., 100.)]
// TODO: When using a custom Properties panel layout in document_node_definitions.rs and this default is set, the widget weirdly doesn't show up in the Properties panel. Investigation is needed.
direction: Item<PixelSize>,
angle: Item<Angle>,
direction: PixelSize,
angle: Angle,
#[default(5)]
#[hard(1..)]
count: u32,
@@ -95,7 +95,7 @@ fn repeat_radial<T>(
start_angle: Angle,
#[unit(" px")]
#[default(5)]
radius: Item<f64>,
radius: f64,
#[default(5)]
#[hard(1..)]
count: u32,