mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-27 02:58:11 +08:00
Use GraphIdentifier instead of option
This commit is contained in:
committed by
Keavon Chambers
parent
5b61a30c2a
commit
f50909b887
@@ -345,7 +345,8 @@ impl NodeGraphMessageHandler {
|
||||
});
|
||||
let primary_output = outputs.next();
|
||||
|
||||
let thumbnail_svg = executor.thumbnails.get(&layer_id).and_then(|thumbnails| thumbnails.get(id)).map(|svg| svg.to_string());
|
||||
let graph_identifier = GraphIdentifier::new(layer_id);
|
||||
let thumbnail_svg = executor.thumbnails.get(&graph_identifier).and_then(|thumbnails| thumbnails.get(id)).map(|svg| svg.to_string());
|
||||
|
||||
nodes.push(FrontendNode {
|
||||
id: *id,
|
||||
|
||||
Reference in New Issue
Block a user