keybinds: track pressed special binds
Ignore mods only if we're processing a special bind, and only if it's pressed. Otherwise we might shadow normal key releases via ignoring mods. Fixes #3240
This commit is contained in:
parent
807fc20525
commit
dcb909df04
2 changed files with 15 additions and 1 deletions
|
|
@ -75,6 +75,7 @@ class CKeybindManager {
|
|||
uint32_t m_uLastMouseCode = 0;
|
||||
|
||||
bool m_bIsMouseBindActive = false;
|
||||
std::vector<SKeybind*> m_vPressedSpecialBinds;
|
||||
|
||||
int m_iPassPressed = -1; // used for pass
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue