Skip to content

Remove some unneeded ---@diagnostic disable lines #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

C3pa
Copy link
Contributor

@C3pa C3pa commented Aug 18, 2023

While hunting for errors in MWSE's annotations, I came across these. These ---@diagnostic disable lines shouldn't be needed anymore.

@jhaakma jhaakma self-assigned this Aug 29, 2023
Comment on lines 171 to 175
self.camera.renderer:setRenderTarget(self.texture)
self.camera:clear()
self.camera:click()
self.camera:swapBuffers()
self.camera.renderer:setRenderTarget(nil)
Copy link
Contributor Author

@C3pa C3pa Mar 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the meantime, these were added to the MWSE's docs, so using them won't raise warnings.

@C3pa
Copy link
Contributor Author

C3pa commented Mar 9, 2025

Another warning is caused by an oversight in Crafting Framework's annotations: jhaakma/crafting-framework#23.

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