diff options
author | pecksin <pexin@protonmail.com> | 2021-03-22 20:57:29 -0400 |
---|---|---|
committer | pecksin <pexin@protonmail.com> | 2021-03-22 20:57:29 -0400 |
commit | 1b39c96683f984b82432cb9f9417245680982b41 (patch) | |
tree | 99399584dba5213146191942bd2970f45c8ffc9b /src | |
parent | f5e1b6eedcf0315fe1dd10e6deaf41f89b5cc589 (diff) | |
download | minetest-1b39c96683f984b82432cb9f9417245680982b41.tar.gz minetest-1b39c96683f984b82432cb9f9417245680982b41.tar.bz2 minetest-1b39c96683f984b82432cb9f9417245680982b41.zip |
only use user-configured ctrl keys for weblink click
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/guiChatConsole.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/guiChatConsole.cpp b/src/gui/guiChatConsole.cpp index 527a28bdb..c27ade23d 100644 --- a/src/gui/guiChatConsole.cpp +++ b/src/gui/guiChatConsole.cpp @@ -422,7 +422,7 @@ bool GUIChatConsole::OnEvent(const SEvent& event) if(event.EventType == EET_KEY_INPUT_EVENT && !event.KeyInput.PressedDown) { // CTRL up - if(isInCtrlKeys(event.KeyInput.Key) || !event.KeyInput.Control) + if(isInCtrlKeys(event.KeyInput.Key)) { isctrldown = false; } @@ -430,7 +430,7 @@ bool GUIChatConsole::OnEvent(const SEvent& event) else if(event.EventType == EET_KEY_INPUT_EVENT && event.KeyInput.PressedDown) { // CTRL down - if(isInCtrlKeys(event.KeyInput.Key) || event.KeyInput.Control) + if(isInCtrlKeys(event.KeyInput.Key)) { isctrldown = true; } |