diff options
author | rabite <rabite@posteo.de> | 2020-05-25 19:43:26 +0200 |
---|---|---|
committer | rabite <rabite@posteo.de> | 2020-05-25 19:43:26 +0200 |
commit | a20fd731687f651ba2842e16be1312090329a750 (patch) | |
tree | 0c416af9a7ed0b544abdad6de997cbcba113a7a4 | |
parent | a13a427a68e306ac578649dcd4d6e3d51a27a4b7 (diff) |
fix video progress bar position in unicode mode
-rw-r--r-- | src/hunter-media.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hunter-media.rs b/src/hunter-media.rs index 82e628d..1f0493d 100644 --- a/src/hunter-media.rs +++ b/src/hunter-media.rs @@ -40,7 +40,7 @@ fn main() -> MResult<()> { .expect("provide ysize in pixels") .parse::<usize>() .unwrap(); - let cell_ratio = args.get(5) + let mut cell_ratio = args.get(5) .expect("Provide cell ratio") .parse::<f32>() .unwrap(); @@ -83,6 +83,7 @@ fn main() -> MResult<()> { if target == RenderTarget::Unicode { xpix = xsize; ypix = ysize * 2; + cell_ratio = 0.5; } |