Skip to content
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

Misc. code cleanup: JS, JSNI rename to NATIVE. #83

Merged
merged 1 commit into from
Feb 19, 2023

Conversation

noblemaster
Copy link
Contributor

I did some code improvements.

  • consistency: calling native functions now with the name ...NATIVE(...) instead of JS(...) or JSNI(...)
  • improved fullscreen mode: e.g. the listener doesn't need to be added every time we switch to fullscreen mode. Once when TeaGraphics is created is enough.
  • new Boolean(...)/etc. replaced with Boolean.valueOf(...).

Copy link
Owner

@xpenatan xpenatan left a comment

Choose a reason for hiding this comment

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

Thanks. This was a very old code 😃

I'll add to b3 release

@xpenatan xpenatan merged commit e53e209 into xpenatan:master Feb 19, 2023
@noblemaster noblemaster deleted the exitFullscreenFix branch February 20, 2023 17:21
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