mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-02 11:38:12 +08:00
Fix Subtract Node from adding instead of subtracting (#1614)
This commit is contained in:
+1
-1
@@ -1930,7 +1930,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
|
|||||||
DocumentNodeDefinition {
|
DocumentNodeDefinition {
|
||||||
name: "Subtract",
|
name: "Subtract",
|
||||||
category: "Math",
|
category: "Math",
|
||||||
implementation: NodeImplementation::proto("graphene_core::ops::AddNode<_>"),
|
implementation: NodeImplementation::proto("graphene_core::ops::SubtractNode<_>"),
|
||||||
inputs: vec![
|
inputs: vec![
|
||||||
DocumentInputType::value("Primary", TaggedValue::F32(0.), true),
|
DocumentInputType::value("Primary", TaggedValue::F32(0.), true),
|
||||||
DocumentInputType::value("Subtrahend", TaggedValue::F32(0.), false),
|
DocumentInputType::value("Subtrahend", TaggedValue::F32(0.), false),
|
||||||
|
|||||||
Reference in New Issue
Block a user