Skip to content

Conversation

C3pa
Copy link
Contributor

@C3pa C3pa commented May 27, 2022

Mark second argument as optional in love.graphics.newImage. That should fix the issue described in #1173. In addition, I renamed the argument from flags to settings since that is the name used in Love2D.

@sumneko
Copy link
Collaborator

sumneko commented May 27, 2022

@C3pa
Copy link
Contributor Author

C3pa commented May 28, 2022

Is this a valid annotation:

---@param settings {dpiscale?: number, linear?: boolean, mipmaps?: boolean}

?

@C3pa
Copy link
Contributor Author

C3pa commented May 28, 2022

See if PR 1178 checks it out.

@C3pa C3pa closed this May 28, 2022
@C3pa C3pa deleted the fix-1173 branch December 27, 2022 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants