mirror of
https://github.com/edubart/otclient.git
synced 2025-10-19 22:13:27 +02:00
Some fixes for class names and queue (added base class).
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
-- @docclass
|
||||
UIWindow = extends(UIWidget)
|
||||
UIWindow = extends(UIWidget, "UIWindow")
|
||||
|
||||
function UIWindow.create()
|
||||
local window = UIWindow.internalCreate()
|
||||
@@ -9,10 +9,6 @@ function UIWindow.create()
|
||||
return window
|
||||
end
|
||||
|
||||
function UIWindow:getClassName()
|
||||
return 'UIWindow'
|
||||
end
|
||||
|
||||
function UIWindow:onKeyDown(keyCode, keyboardModifiers)
|
||||
if keyboardModifiers == KeyboardNoModifier then
|
||||
if keyCode == KeyEnter then
|
||||
|
Reference in New Issue
Block a user