mirror of https://github.com/bobwen-dev/hunter
fix video progress bar position in unicode mode
This commit is contained in:
parent
a13a427a68
commit
a20fd73168
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue