forked from 2009Scape/Server
Esc closes interface
This commit is contained in:
parent
a508a815a2
commit
ffff61e8a5
1 changed files with 5 additions and 0 deletions
|
|
@ -69,6 +69,11 @@ final class KeyboardListener implements KeyListener, FocusListener {
|
|||
if (var1.getKeyCode() == KeyEvent.VK_TAB) {
|
||||
Class73.method1308(RSString.createRSString("::reply"), false);
|
||||
}
|
||||
|
||||
if (var1.getKeyCode() == KeyEvent.VK_ESCAPE)
|
||||
{
|
||||
Class73.method1308(RSString.createRSString("::shutdowninterface"), false);
|
||||
}
|
||||
|
||||
/**
|
||||
* Controls arrow key mouse movement
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue