mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
more fixes
* add default key combos to Hotkeys * impement moving countable items holding Ctrl or Shift * fix messagebox incorrent size * implement API in Keyboard to get modifiers key states * minor UI layout fixes * add Ctrl+L logout hotkey
This commit is contained in:
@@ -256,8 +256,7 @@ function Battle.onMouseRelease(self, mousePosition, mouseButton)
|
||||
GameInterface.createThingMenu(mousePosition, nil, nil, self.creature)
|
||||
return true
|
||||
elseif mouseButton == MouseLeftButton then
|
||||
local modifiers = g_window.getKeyboardModifiers()
|
||||
if modifiers == KeyboardShiftModifier then
|
||||
if Keyboard.isShiftPressed() then
|
||||
g_game.look(self.creature)
|
||||
else
|
||||
if self.isTarget then
|
||||
|
Reference in New Issue
Block a user