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:
parent
a13a427a68
commit
a20fd73168
@ -40,7 +40,7 @@ fn main() -> MResult<()> {
|
|||||||
.expect("provide ysize in pixels")
|
.expect("provide ysize in pixels")
|
||||||
.parse::<usize>()
|
.parse::<usize>()
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let cell_ratio = args.get(5)
|
let mut cell_ratio = args.get(5)
|
||||||
.expect("Provide cell ratio")
|
.expect("Provide cell ratio")
|
||||||
.parse::<f32>()
|
.parse::<f32>()
|
||||||
.unwrap();
|
.unwrap();
|
||||||
@ -83,6 +83,7 @@ fn main() -> MResult<()> {
|
|||||||
if target == RenderTarget::Unicode {
|
if target == RenderTarget::Unicode {
|
||||||
xpix = xsize;
|
xpix = xsize;
|
||||||
ypix = ysize * 2;
|
ypix = ysize * 2;
|
||||||
|
cell_ratio = 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user