summaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2021-04-23 23:13:42 -0400
committerGitHub <noreply@github.com>2021-04-23 23:13:42 -0400
commitd4a18aea759818989acd18295618063155e6a2b9 (patch)
tree0d785a3774c813d0fb2086dc8ed5c0d3aa16fd9e /src/app
parentfcc478a1eb978c826ac416399813df7cdc6b94b2 (diff)
bug: Fix mouse hitboxes (#459)
Fixes the mouse hitbox checks overextending by 1. Also reverts the bandaid fix done for #458.
Diffstat (limited to 'src/app')
-rw-r--r--src/app/states.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/states.rs b/src/app/states.rs
index c8af1737..c596f038 100644
--- a/src/app/states.rs
+++ b/src/app/states.rs
@@ -61,7 +61,7 @@ impl Default for KillSignal {
pub struct AppDeleteDialogState {
pub is_showing_dd: bool,
pub selected_signal: KillSignal,
- // tl x, tl y, br x, br y
+ /// tl x, tl y, br x, br y, index/signal
pub button_positions: Vec<(u16, u16, u16, u16, usize)>,
pub keyboard_signal_select: usize,
pub last_number_press: Option<Instant>,