mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-09-04 20:20:32 +00:00
Wrap opacity/blend_mode in alpha_blending struct for graphic elements
This commit is contained in:
parent
10f2fa92e5
commit
e459e599b4
15 changed files with 111 additions and 96 deletions
|
@ -312,7 +312,7 @@ fn node_registry() -> HashMap<ProtoNodeIdentifier, HashMap<NodeIOTypes, NodeCons
|
|||
let empty_image = ImageFrame {
|
||||
image: Image::new(bounds.x, bounds.y, Color::BLACK),
|
||||
transform,
|
||||
blend_mode: BlendMode::Normal,
|
||||
..Default::default()
|
||||
};
|
||||
let final_image = ClonedNode::new(empty_image).then(complete_node);
|
||||
let final_image = FutureWrapperNode::new(final_image);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue