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