mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-15 15:04:53 +02:00
fix items, map, protocls
This commit is contained in:
12
800OTClient/modules/corelib/ui/uibutton.lua
Normal file
12
800OTClient/modules/corelib/ui/uibutton.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
-- @docclass
|
||||
UIButton = extends(UIWidget, "UIButton")
|
||||
|
||||
function UIButton.create()
|
||||
local button = UIButton.internalCreate()
|
||||
button:setFocusable(false)
|
||||
return button
|
||||
end
|
||||
|
||||
function UIButton:onMouseRelease(pos, button)
|
||||
return self:isPressed()
|
||||
end
|
Reference in New Issue
Block a user