mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 03:24:55 +02:00
new shortcuts
* Ctrl+Q logout from game * Ctrl+Shift+R reload scripts, instead of Ctrl+R that is now reserved for rule report * Ctrl+A clean the chat text box * Ctrl+F toggles fullscreen mode
This commit is contained in:
@@ -51,6 +51,7 @@ function GameInterface.init()
|
||||
Keyboard.bindKeyPress('Escape', function() g_game.cancelAttackAndFollow() end, gameRootPanel, WALK_AUTO_REPEAT_DELAY)
|
||||
Keyboard.bindKeyPress('Ctrl+=', function() gameMapPanel:zoomIn() end, gameRootPanel, 250)
|
||||
Keyboard.bindKeyPress('Ctrl+-', function() gameMapPanel:zoomOut() end, gameRootPanel, 250)
|
||||
Keyboard.bindKeyDown('Ctrl+Q', GameInterface.tryLogout, gameRootPanel)
|
||||
|
||||
if g_game.isOnline() then
|
||||
GameInterface.show()
|
||||
|
Reference in New Issue
Block a user