summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2020-09-30 22:01:29 +0200
committerCanop <cano.petrole@gmail.com>2020-09-30 22:01:29 +0200
commit8069eeb2802122f18122d2fe8dbd464871cf819e (patch)
tree8411dd9bbb13938bdc53db580a70f13ac9db5d0d
parentc5dc8563a39247b7d97402757eb07dc8054d99cb (diff)
version 1.0.1v1.0.1
-rw-r--r--CHANGELOG.md3
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml2
-rw-r--r--src/image/image_view.rs7
4 files changed, 5 insertions, 9 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 26ce52c..5c425e4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,5 @@
-### next
+<a name="v1.0.1"></a>
+### v1.0.1 - 2020-09-30
* don't apply .gitignore files (including the global one) when not in a git repository - Fix #274
* the "clipboard" optional feature adds:
* the `:copy_path` verb which copies the selected path to the clipboard (mapped to alt-c)
diff --git a/Cargo.lock b/Cargo.lock
index 5b4f694..e1c5be4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -115,7 +115,7 @@ dependencies = [
[[package]]
name = "broot"
-version = "1.0.1-dev"
+version = "1.0.1"
dependencies = [
"ansi_colours",
"bet",
diff --git a/Cargo.toml b/Cargo.toml
index 932df7d..b9be161 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "broot"
-version = "1.0.1-dev"
+version = "1.0.1"
authors = ["dystroy <denys.seguret@gmail.com>"]
repository = "https://github.com/Canop/broot"
documentation = "https://dystroy.org/broot"
diff --git a/src/image/image_view.rs b/src/image/image_view.rs
index c09e036..4e30562 100644
--- a/src/image/image_view.rs
+++ b/src/image/image_view.rs
@@ -24,7 +24,6 @@ use {
termimad::{Area},
};
-
/// an already resized image, with the dimensions it
/// was computed for (which may be different from the
/// dimensions we got)
@@ -72,11 +71,7 @@ impl ImageView {
let img = time!(
Debug,
"resize image",
- self.source_img.resize(
- area.width as u32,
- (area.height*2) as u32,
- FilterType::Triangle,
- ),
+ self.source_img.resize(target_width, target_height, FilterType::Triangle),
);
self.display_img = Some(CachedImage {
target_width,