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_scroll_left: bool = true;
|
||||
if args.autoscroll {
|
||||
// polling thread
|
||||
thread::spawn(move || {
|
||||
let mut polling_rate = initial_polling_rate;
|
||||
@ -59,7 +58,6 @@ fn main() {
|
||||
thread::sleep(Duration::from_millis(100)); // poll every 50 ms
|
||||
}
|
||||
});
|
||||
}
|
||||
// main thread
|
||||
let mut polling_rate = initial_polling_rate;
|
||||
let mut scroll_left = initial_scroll_left;
|
||||
|
Loading…
Reference in New Issue
Block a user