mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Don't change item selection with mouse while scanning for new key bind (#159)
# Conflicts: # .gitignore
This commit is contained in:
parent
d6d8762400
commit
e8337c783e
2 changed files with 4 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -19,6 +19,9 @@ apps/
|
|||
*.ppc
|
||||
*.app
|
||||
|
||||
/movie
|
||||
/blud*.png
|
||||
/game*.sav
|
||||
*.log
|
||||
*.cache
|
||||
*.cfg
|
||||
|
|
|
@ -1176,7 +1176,7 @@ void CGameMenuItemKeyList::Draw(void)
|
|||
int my = y<<16;
|
||||
int mw = m_nWidth<<16;
|
||||
int mh = height<<16;
|
||||
if (bEnable && MOUSEACTIVECONDITIONAL(!gGameMenuMgr.MouseOutsideBounds(&gGameMenuMgr.m_mousepos, mx, my, mw, mh)))
|
||||
if (!bScan && bEnable && MOUSEACTIVECONDITIONAL(!gGameMenuMgr.MouseOutsideBounds(&gGameMenuMgr.m_mousepos, mx, my, mw, mh)))
|
||||
{
|
||||
if (MOUSEWATCHPOINTCONDITIONAL(!gGameMenuMgr.MouseOutsideBounds(&gGameMenuMgr.m_prevmousepos, mx, my, mw, mh)))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue