mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-19 22:23:28 +02:00
Added keypad, fixed one crash bug and few more features for mobile version
This commit is contained in:
@@ -172,6 +172,12 @@ function UIGameMap:onMouseRelease(mousePosition, mouseButton)
|
||||
return ret
|
||||
end
|
||||
|
||||
function UIGameMap:onTouchRelease(mousePosition, mouseButton)
|
||||
if mouseButton ~= MouseTouch then
|
||||
return self:onMouseRelease(mousePosition, mouseButton)
|
||||
end
|
||||
end
|
||||
|
||||
function UIGameMap:canAcceptDrop(widget, mousePos)
|
||||
if not widget or not widget.currentDragThing then return false end
|
||||
|
||||
|
Reference in New Issue
Block a user