mirror of
https://github.com/penpot/penpot.git
synced 2026-07-23 06:28:14 +00:00
🎉 Remove unnecesary clone for cache image
This commit is contained in:
parent
246463a3ec
commit
d1a1dafcad
@ -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…
x
Reference in New Issue
Block a user