mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-04 05:18:19 +00:00
Fix regression causing pasted images to have a zero-size transform (#2238)
* Use the identity matrix as the default for an image frame * Fix all usages to be equivalent to their pre-refactor versions, opting to keep ZERO not IDENTITY as the default image size --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
parent
dbf917ef71
commit
c5a3c32114
5 changed files with 10 additions and 5 deletions
|
@ -87,7 +87,8 @@ fn decode_image(_: (), data: Arc<[u8]>) -> ImageFrameTable<Color> {
|
|||
height: image.height(),
|
||||
..Default::default()
|
||||
},
|
||||
..Default::default()
|
||||
transform: glam::DAffine2::IDENTITY,
|
||||
alpha_blending: Default::default(),
|
||||
};
|
||||
|
||||
ImageFrameTable::new(image)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue