fix(Hotkey): Single key not executing multiple hotkeys (#2111)
Closes #2000
This commit is contained in:
parent
956d8110a0
commit
9769b26870
@ -94,7 +94,7 @@ namespace big
|
||||
if (state == eKeyState::RELEASE || state == eKeyState::DOWN)
|
||||
{
|
||||
auto& hotkey_map = m_hotkeys[state == eKeyState::RELEASE];
|
||||
if (const auto& it = hotkey_map.find(key); it != hotkey_map.end())
|
||||
for (auto [ it, end ] = hotkey_map.equal_range(key); it != end; ++it)
|
||||
{
|
||||
if (auto& hotkey = it->second; hotkey.can_exec())
|
||||
{
|
||||
|
Reference in New Issue
Block a user