mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 04:24:54 +02:00
walk and key event system rework with some regressions
This commit is contained in:
@@ -6,7 +6,8 @@ local loadBox
|
||||
local characterList
|
||||
|
||||
-- private functions
|
||||
local function onCharactersWindowKeyPress(self, keyCode, keyText, keyboardModifiers)
|
||||
local function onCharactersWindowKeyPress(self, keyCode, keyboardModifiers, wouldFilter)
|
||||
if wouldFilter then return end
|
||||
if keyboardModifiers == KeyboardNoModifier then
|
||||
if keyCode == KeyUp then
|
||||
characterList:focusPreviousChild(ActiveFocusReason)
|
||||
|
Reference in New Issue
Block a user