mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 12:04:55 +02:00
Rework auto focus behavior, closes #222
This commit is contained in:
@@ -5,6 +5,7 @@ function UIWindow.create()
|
||||
local window = UIWindow.internalCreate()
|
||||
window:setTextAlign(AlignTopCenter)
|
||||
window:setDraggable(true)
|
||||
window:setAutoFocusPolicy(AutoFocusFirst)
|
||||
return window
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user