mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-25 18:38:11 +08:00
Add preview and disable buttons for nodes (#905)
* Add preview and disable button * Fix tests Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
committed by
Keavon Chambers
co-authored by
Keavon Chambers
parent
6535ffeeb6
commit
01931939ff
@@ -158,6 +158,7 @@ impl Fsm for ImaginateToolFsmState {
|
||||
)]
|
||||
.into_iter()
|
||||
.collect(),
|
||||
..Default::default()
|
||||
};
|
||||
let mut imaginate_inputs: Vec<NodeInput> = imaginate_node_type.inputs.iter().map(|input| input.default.clone()).collect();
|
||||
imaginate_inputs[0] = NodeInput::Node(0);
|
||||
@@ -197,6 +198,7 @@ impl Fsm for ImaginateToolFsmState {
|
||||
]
|
||||
.into_iter()
|
||||
.collect(),
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
responses.push_back(
|
||||
|
||||
@@ -163,6 +163,7 @@ impl Fsm for NodeGraphToolFsmState {
|
||||
]
|
||||
.into_iter()
|
||||
.collect(),
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
responses.push_back(
|
||||
|
||||
Reference in New Issue
Block a user