fix: allow context menu when shift is being pressed
This commit is contained in:
parent
8fd99ec40e
commit
e053db3bf9
1 changed files with 7 additions and 9 deletions
|
|
@ -3312,7 +3312,6 @@ impl Tab {
|
||||||
}
|
}
|
||||||
Message::ContextMenu(point_opt, _) => {
|
Message::ContextMenu(point_opt, _) => {
|
||||||
self.edit_location = None;
|
self.edit_location = None;
|
||||||
if point_opt.is_none() || !mod_shift {
|
|
||||||
self.context_menu = point_opt;
|
self.context_menu = point_opt;
|
||||||
self.location_context_menu_index = None;
|
self.location_context_menu_index = None;
|
||||||
|
|
||||||
|
|
@ -3325,7 +3324,6 @@ impl Tab {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
Message::LocationContextMenuPoint(point_opt) => {
|
Message::LocationContextMenuPoint(point_opt) => {
|
||||||
self.context_menu = None;
|
self.context_menu = None;
|
||||||
self.location_context_menu_point = point_opt;
|
self.location_context_menu_point = point_opt;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue