Fix modifier key logic for edit predictions preview with completions (#24709)
Release Notes: - N/A
This commit is contained in:
@@ -5205,7 +5205,7 @@ impl Editor {
|
|||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
|
||||||
if &accept_keystroke.modifiers == modifiers {
|
if &accept_keystroke.modifiers == modifiers && accept_keystroke.modifiers.modified() {
|
||||||
if matches!(
|
if matches!(
|
||||||
self.edit_prediction_preview,
|
self.edit_prediction_preview,
|
||||||
EditPredictionPreview::Inactive
|
EditPredictionPreview::Inactive
|
||||||
|
|||||||
Reference in New Issue
Block a user