1
0
mirror of https://github.com/bobwen-dev/hunter synced 2025-04-12 00:55:41 +02:00

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

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