fix: double click not registering after the first one

pull/12514/head
Nikita Revenco 2025-01-13 09:16:14 +00:00
parent 6fbe9fe0bf
commit 82401d87b7
1 changed files with 2 additions and 2 deletions

View File

@ -107,8 +107,8 @@ impl MouseClicks {
self.count = 2;
}
2 => {
self.clicks[0] = self.clicks[1];
self.clicks[1] = Some(char_idx);
self.clicks[1] = self.clicks[0];
self.clicks[0] = Some(char_idx);
}
_ => unreachable!(),
};