mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Clean up warnings
This commit is contained in:
@ -67,7 +67,7 @@ impl Input {
|
||||
|
||||
/// Whether input has been pressed for longer than `threshold`
|
||||
pub fn is_long_press(&self, threshold: Duration) -> bool {
|
||||
(self.is_pressed() && self.duration >= threshold)
|
||||
self.is_pressed() && self.duration >= threshold
|
||||
}
|
||||
|
||||
/// Handles logic of updating state of Input
|
||||
|
Reference in New Issue
Block a user