mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-16 23:08:05 +08:00
Add the "Type Assertion" node catalog category (#4452)
This commit is contained in:
committed by
Dennis Kobert
parent
a1b8bff6cd
commit
698e81ff3a
@@ -193,7 +193,7 @@ fn string_value(_: impl Ctx, _primary: (), string: TextArea) -> String {
|
||||
}
|
||||
|
||||
/// Type-asserts a value to be a string.
|
||||
#[node_macro::node(category("Debug"))]
|
||||
#[node_macro::node(category("Type Assertion"))]
|
||||
fn as_string(_: impl Ctx, value: String) -> String {
|
||||
value
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user