mirror of
https://github.com/penpot/penpot.git
synced 2025-04-06 20:11:29 -05:00
🎉 Remove unnecesary clone for cache image
This commit is contained in:
parent
246463a3ec
commit
d1a1dafcad
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ impl RenderState {
|
|||
));
|
||||
self.final_surface
|
||||
.canvas()
|
||||
.draw_image(image.clone(), (0, 0), Some(&paint));
|
||||
.draw_image(image, (0, 0), Some(&paint));
|
||||
|
||||
self.final_surface.canvas().restore();
|
||||
self.drawing_surface.canvas().restore();
|
||||
|
|
Loading…
Add table
Reference in a new issue