diff options
Diffstat (limited to 'examples/screenshot')
-rw-r--r-- | examples/screenshot/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/screenshot/src/main.rs b/examples/screenshot/src/main.rs index 66cbcd8c..7d53b3b2 100644 --- a/examples/screenshot/src/main.rs +++ b/examples/screenshot/src/main.rs @@ -133,7 +133,7 @@ impl Application for Example { image(image::Handle::from_pixels( screenshot.size.width, screenshot.size.height, - screenshot.bytes.clone(), + screenshot.clone(), )) .content_fit(ContentFit::ScaleDown) .width(Length::Fill) |