mirror of
https://github.com/Wurst-Imperium/Wurst7.git
synced 2024-09-20 01:12:13 +02:00
Fix TabGUI registering key presses twice
This commit is contained in:
parent
5f3b0c0332
commit
044f898a82
@ -71,6 +71,9 @@ public final class TabGui implements KeyPressListener
|
||||
@Override
|
||||
public void onKeyPress(KeyPressEvent event)
|
||||
{
|
||||
if(event.getAction() != GLFW.GLFW_PRESS)
|
||||
return;
|
||||
|
||||
if(tabGuiOtf.isHidden())
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user