From a20fd731687f651ba2842e16be1312090329a750 Mon Sep 17 00:00:00 2001 From: rabite Date: Mon, 25 May 2020 19:43:26 +0200 Subject: fix video progress bar position in unicode mode --- src/hunter-media.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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::() .unwrap(); - let cell_ratio = args.get(5) + let mut cell_ratio = args.get(5) .expect("Provide cell ratio") .parse::() .unwrap(); @@ -83,6 +83,7 @@ fn main() -> MResult<()> { if target == RenderTarget::Unicode { xpix = xsize; ypix = ysize * 2; + cell_ratio = 0.5; } -- cgit v1.2.3