修正嵌套调用bug
This commit is contained in:
parent
220a6798d2
commit
0171feb4df
@ -55,15 +55,11 @@ namespace hgl
|
||||
if(key_push[kb])
|
||||
OnKeyPress(kb);
|
||||
else
|
||||
{
|
||||
OnKeyDown(kb);
|
||||
key_push[kb]=true;
|
||||
}
|
||||
}
|
||||
|
||||
void Window::OnKeyUp(KeyboardButton kb)
|
||||
{
|
||||
OnKeyUp(kb);
|
||||
key_push[kb]=false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user