mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 04:24:54 +02:00
replace require with dofile, rename Hotkeys to Keyboard
This commit is contained in:
@@ -7,7 +7,7 @@ function UIMap:onDragEnter(mousePos)
|
||||
|
||||
self.parsed = false
|
||||
self.currentDragThing = thing
|
||||
setTargetCursor()
|
||||
Mouse.setTargetCursor()
|
||||
return true
|
||||
end
|
||||
|
||||
@@ -16,7 +16,7 @@ function UIMap:onDragLeave(widget, mousePos)
|
||||
self.currentDragThing = nil
|
||||
end
|
||||
|
||||
restoreCursor()
|
||||
Mouse.restoreCursor()
|
||||
return true
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user