diff options
author | Canop <cano.petrole@gmail.com> | 2020-08-18 14:36:43 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2020-08-18 14:36:43 +0200 |
commit | 5a4475f85a8be94a74dc006ff86c497623b2d111 (patch) | |
tree | 4fe7fc3cf8944f0ccde13a2873ace12d49560be8 /src/image/image_view.rs | |
parent | db2da21a7629f9685f4d062895e5d02db59ca80d (diff) |
made :focus more accessible when a file is selected
Diffstat (limited to 'src/image/image_view.rs')
-rw-r--r-- | src/image/image_view.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/image/image_view.rs b/src/image/image_view.rs index ce1968c..30b7c3d 100644 --- a/src/image/image_view.rs +++ b/src/image/image_view.rs @@ -35,6 +35,7 @@ impl ImageView { let img = time!( Debug, "decode image", + path, Reader::open(&path)?.decode()? ); let (width, height) = img.dimensions(); |