MrTanoshii / rusty-autoclicker

A pure Rust portable auto clicker built for Linux, macOS & Windows.
Creative Commons Zero v1.0 Universal
71 stars 12 forks source link

refactor: cleanup app.rs #36

Closed nozwock closed 1 year ago

nozwock commented 1 year ago

Refactor

MrTanoshii commented 1 year ago

Contributes to #3

nozwock commented 1 year ago

There's interval: u64 on L494 that can also be cleaned up of its data type

I was thinking of this rather

        let interval: u64 = (hr * 3600000) + (min * 60000) + (sec * 1000) + ms;

Let's leave that u64 out just for being lil explicit?

MrTanoshii commented 1 year ago

There's interval: u64 on L494 that can also be cleaned up of its data type

I was thinking of this rather

        let interval: u64 = (hr * 3600000) + (min * 60000) + (sec * 1000) + ms;

Let's leave that u64 out just for being lil explicit?

yeah that works too

nozwock commented 1 year ago

yeah that works too

Done

MrTanoshii commented 1 year ago

Thanks!