From fc86e7cd511bc8dc6404fca1b484514ab544620e Mon Sep 17 00:00:00 2001 From: Michael Sloan Date: Tue, 11 Feb 2025 20:26:51 -0700 Subject: [PATCH] Fix modifier key logic for edit predictions preview with completions (#24709) Release Notes: - N/A --- crates/editor/src/editor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 406f193817..54e9533d7e 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -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