diff options
Diffstat (limited to 'src/input.rs')
-rw-r--r-- | src/input.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input.rs b/src/input.rs index 23ccdd58..a4deed04 100644 --- a/src/input.rs +++ b/src/input.rs @@ -646,6 +646,8 @@ impl<'a, A: ActionContext + 'a> Processor<'a, A> { MouseButton::Other(_) => None, }; + self.process_mouse_bindings(modifiers, button); + if let Some(prev_state) = prev_state { if prev_state != state { match state { @@ -658,8 +660,6 @@ impl<'a, A: ActionContext + 'a> Processor<'a, A> { if let ElementState::Released = state { return; } - - self.process_mouse_bindings(modifiers, button); } /// Process key input |