diff options
author | Canop <cano.petrole@gmail.com> | 2020-09-30 14:59:51 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2020-09-30 14:59:51 +0200 |
commit | 7de5b8d565b6d638e43558df5832c6a8b5290e63 (patch) | |
tree | f448dbc0e292ebcfbd3a884b645d7619ada7b677 /src/image/image_view.rs | |
parent | e08c1995d47be9929c948f5477b6648c336cbeef (diff) |
refactor: make Screen Copy
It's now only the dimensions, it's tiny.
Diffstat (limited to 'src/image/image_view.rs')
-rw-r--r-- | src/image/image_view.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image/image_view.rs b/src/image/image_view.rs index 74053f4..ce45d7c 100644 --- a/src/image/image_view.rs +++ b/src/image/image_view.rs @@ -47,7 +47,7 @@ impl ImageView { pub fn display( &mut self, w: &mut W, - _screen: &Screen, + _screen: Screen, panel_skin: &PanelSkin, area: &Area, con: &AppContext, @@ -96,7 +96,7 @@ impl ImageView { pub fn display_info( &mut self, w: &mut W, - _screen: &Screen, + _screen: Screen, panel_skin: &PanelSkin, area: &Area, ) -> Result<(), ProgramError> { |