Fix modifier key logic for edit predictions preview with completions (#24709)

Release Notes:

- N/A
This commit is contained in:
Michael Sloan authored and GitHub committed 2025-02-12 03:26:51 +00:00
1 parent c1ce33d439
commit 897a31029d
1 file changed
+1 -1
+1 -1
View File
@@ -5205,7 +5205,7 @@ impl Editor {
return;
};
if &accept_keystroke.modifiers == modifiers {
if &accept_keystroke.modifiers == modifiers && accept_keystroke.modifiers.modified() {
if matches!(
self.edit_prediction_preview,
EditPredictionPreview::Inactive