mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-09-01 10:47:22 +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
|
@ -279,8 +279,7 @@ fn decode_image_node<'a: 'input>(data: Arc<[u8]>) -> ImageFrame<Color> {
|
|||
width: image.width(),
|
||||
height: image.height(),
|
||||
},
|
||||
transform: glam::DAffine2::IDENTITY,
|
||||
blend_mode: graphene_core::raster::BlendMode::Normal,
|
||||
..Default::default()
|
||||
};
|
||||
image
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue