mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge #2694
2694: Fix mouse interaction when game console is open r=def- a=BannZay fixes #2685 Co-authored-by: Andrii <bannzay3@gmail.com>
This commit is contained in:
commit
f00cab1b55
|
@ -758,8 +758,8 @@ void CGameConsole::Toggle(int Type)
|
||||||
|
|
||||||
if (m_ConsoleState == CONSOLE_CLOSED || m_ConsoleState == CONSOLE_CLOSING)
|
if (m_ConsoleState == CONSOLE_CLOSED || m_ConsoleState == CONSOLE_CLOSING)
|
||||||
{
|
{
|
||||||
/*Input()->MouseModeAbsolute();
|
/*Input()->MouseModeAbsolute();*/
|
||||||
m_pClient->m_pMenus->UseMouseButtons(false);*/
|
m_pClient->m_pMenus->UseMouseButtons(false);
|
||||||
m_ConsoleState = CONSOLE_OPENING;
|
m_ConsoleState = CONSOLE_OPENING;
|
||||||
/*// reset controls
|
/*// reset controls
|
||||||
m_pClient->m_pControls->OnReset();*/
|
m_pClient->m_pControls->OnReset();*/
|
||||||
|
|
Loading…
Reference in a new issue