fix video progress bar position in unicode mode

This commit is contained in:
rabite 2020-05-25 19:43:26 +02:00
parent a13a427a68
commit a20fd73168
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}