summaryrefslogtreecommitdiff
path: root/meta/3rd/love2d/library/love.mouse.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-10-25 16:44:08 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-10-25 16:44:08 +0800
commit8ced2703cc4598fe880cf27f2f82a90e947b532f (patch)
tree0e4c8e0de8128d5fcccb217581a907170256d01a /meta/3rd/love2d/library/love.mouse.lua
parent916bec18c8384f14404b2b79d762855d1610411a (diff)
downloadlua-language-server-8ced2703cc4598fe880cf27f2f82a90e947b532f.zip
update love2d-api
Diffstat (limited to 'meta/3rd/love2d/library/love.mouse.lua')
-rw-r--r--meta/3rd/love2d/library/love.mouse.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/3rd/love2d/library/love.mouse.lua b/meta/3rd/love2d/library/love.mouse.lua
index af2eeae5..3e9de39c 100644
--- a/meta/3rd/love2d/library/love.mouse.lua
+++ b/meta/3rd/love2d/library/love.mouse.lua
@@ -89,8 +89,8 @@ function love.mouse.isVisible() end
---@overload fun(filename: string, hotx: number, hoty: number):love.Cursor
---@overload fun(fileData: love.FileData, hotx: number, hoty: number):love.Cursor
---@param imageData love.ImageData # The ImageData to use for the new Cursor.
----@param hotx number # The x-coordinate in the ImageData of the cursor's hot spot.
----@param hoty number # The y-coordinate in the ImageData of the cursor's hot spot.
+---@param hotx? number # The x-coordinate in the ImageData of the cursor's hot spot.
+---@param hoty? number # The y-coordinate in the ImageData of the cursor's hot spot.
---@return love.Cursor cursor # The new Cursor object.
function love.mouse.newCursor(imageData, hotx, hoty) end