mirror of https://github.com/lapce/lapce.git
cancel mouse hover timer when right click
This commit is contained in:
parent
55e2ac585a
commit
0fa4258c8b
|
@ -210,6 +210,7 @@ fn mouse_down(
|
|||
editor_data.cancel_hover();
|
||||
}
|
||||
MouseButton::Right => {
|
||||
self.mouse_hover_timer = TimerToken::INVALID;
|
||||
self.right_click(ctx, editor_data, mouse_event, config);
|
||||
editor_data.cancel_completion();
|
||||
editor_data.cancel_hover();
|
||||
|
|
Loading…
Reference in New Issue