From 345cbbfa3e2c5201cb0de9579a25feeaf157b6f0 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Emmanuel Zorg Date: Tue, 12 Nov 2024 07:20:26 +0100 Subject: [PATCH] FIX: Remove scroll with meta-up/down MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This conflicts with macOS's caret movement, which makes "move to start/end" (what ⌘↑/↓ does) turn into what Fn↑/↓ does already, and makes it very easy to lose what you're currently typing into chat, as the history scroll doesn't preserve that. --- src/functions/chatAugments.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/functions/chatAugments.js b/src/functions/chatAugments.js index f8bab319..dee83397 100644 --- a/src/functions/chatAugments.js +++ b/src/functions/chatAugments.js @@ -265,10 +265,6 @@ export default function chatAugments() { ChatRoomSendChat(); return true; } - if (event.metaKey && (event.key === "ArrowUp" || event.key === "ArrowDown")) { - ChatRoomScrollHistory(event.key === "ArrowUp"); - return true; - } } return next([event]); }