refactor: reverse &&

pull/12514/head
Nikita Revenco 2025-01-12 21:34:06 +00:00
parent a9a1e69f09
commit a60dc2d085
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ impl MouseClicks {
}
fn is_triple_click(&mut self, char_idx: usize) -> bool {
Some(char_idx) == self.clicks[1] && Some(char_idx) == self.clicks[0]
Some(char_idx) == self.clicks[0] && Some(char_idx) == self.clicks[1]
}
fn is_double_click(&mut self, char_idx: usize) -> bool {