lmfao dumb oversight fixed
This commit is contained in:
parent
b490716232
commit
b81babe426
@ -44,7 +44,6 @@ fn main() {
|
|||||||
|
|
||||||
let initial_polling_rate: u64 = 50;
|
let initial_polling_rate: u64 = 50;
|
||||||
let initial_scroll_left: bool = true;
|
let initial_scroll_left: bool = true;
|
||||||
if args.autoscroll {
|
|
||||||
// polling thread
|
// polling thread
|
||||||
thread::spawn(move || {
|
thread::spawn(move || {
|
||||||
let mut polling_rate = initial_polling_rate;
|
let mut polling_rate = initial_polling_rate;
|
||||||
@ -59,7 +58,6 @@ fn main() {
|
|||||||
thread::sleep(Duration::from_millis(100)); // poll every 50 ms
|
thread::sleep(Duration::from_millis(100)); // poll every 50 ms
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
|
||||||
// main thread
|
// main thread
|
||||||
let mut polling_rate = initial_polling_rate;
|
let mut polling_rate = initial_polling_rate;
|
||||||
let mut scroll_left = initial_scroll_left;
|
let mut scroll_left = initial_scroll_left;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user