mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
fix game losing focus, handle enter/escape on add vip window
This commit is contained in:
@@ -1,11 +1,2 @@
|
||||
-- place any code for testing purposes here
|
||||
|
||||
function init()
|
||||
local box = createWidget('ComboBox')
|
||||
box:moveTo({x=100, y=8})
|
||||
box:addOption('Option 1')
|
||||
box:addOption('Option 2')
|
||||
displayUI(box)
|
||||
end
|
||||
|
||||
addEvent(init)
|
||||
--scheduleEvent(function() dumpWidgets() end, 100)
|
@@ -1,6 +1,7 @@
|
||||
Module
|
||||
name: playground
|
||||
autoLoad: true
|
||||
autoLoadPriority: 1000
|
||||
onLoad: |
|
||||
require 'playground'
|
||||
|
||||
|
Reference in New Issue
Block a user