Skip to content

Commit

Permalink
keybinds: fix bindm (#6429)
Browse files Browse the repository at this point in the history
* fixed mouse dispatcher

* no brakets

* move command up
  • Loading branch information
Moerliy committed Jun 11, 2024
1 parent b6bf4af commit 8412ffc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/config/ConfigManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2030,6 +2030,9 @@ std::optional<std::string> CConfigManager::handleBind(const std::string& command

const auto COMMAND = mouse ? HANDLER : ARGS[3 + DESCR_OFFSET];

if (mouse)
HANDLER = "mouse";

// to lower
std::transform(HANDLER.begin(), HANDLER.end(), HANDLER.begin(), ::tolower);

Expand Down

0 comments on commit 8412ffc

Please sign in to comment.