We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In Dart, if (Null) and if (!Null) cause type errors.
if (Null)
if (!Null)
ScaleManager depends on !isFullScreen evaluating like isFullScreen == Null in at least one line of code.
ScaleManager
!isFullScreen
isFullScreen == Null
If the following lines of code are placed in the preload() method for a State implementer:
game.scale.scaleMode = ScaleManager.SHOW_ALL; game.scale.setScreenSize(false);
A type error occurs at line 1108 in scale_manager.dart: } else if (!this.isFullScreen) {
} else if (!this.isFullScreen) {
isFullScreen should probably be initialized to false.
isFullScreen
false
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In Dart,
if (Null)
andif (!Null)
cause type errors.ScaleManager
depends on!isFullScreen
evaluating likeisFullScreen == Null
in at least one line of code.If the following lines of code are placed in the preload() method for a State implementer:
A type error occurs at line 1108 in scale_manager.dart:
} else if (!this.isFullScreen) {
isFullScreen
should probably be initialized tofalse
.The text was updated successfully, but these errors were encountered: