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:
Eduardo Bart
2012-06-07 09:25:41 -03:00
parent 486837a61d
commit 066ffead08
7 changed files with 39 additions and 6 deletions

View File

@@ -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