From 1b3a3f4567173f226af45c7e9c82420b4e5d055f Mon Sep 17 00:00:00 2001 From: Kai Schmidt Date: Tue, 11 Jun 2024 22:29:01 -0700 Subject: [PATCH] small pad key handling tweak --- site/src/editor/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/editor/mod.rs b/site/src/editor/mod.rs index d4a18ab87..de81292ef 100644 --- a/site/src/editor/mod.rs +++ b/site/src/editor/mod.rs @@ -688,7 +688,7 @@ pub fn Editor<'a>( }); } // Handle open delimiters - "(" | "[" | "{" if !event.meta_key() => { + "(" | "[" | "{" if !os_ctrl(event) => { // Surround the selected text with delimiters let (open, close) = match key { "\"" => ('"', '"'),