mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-19 10:58:04 +08:00
Drop the stranded ranked wrappers from the node signatures
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user