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
cant compile currently need to add return types. if you need a project: HaxeUITest.zip
haxe/ui/backend/ScreenImpl.hx:67: lines 67-73 : Field addComponent overrides parent class with different or incomplete type
Fix is to add return component;
... public override function addComponent(component:Component) { component.scaleX = Toolkit.scaleX; component.scaleY = Toolkit.scaleY; _topLevelComponents.push(component); container.addChild(component); onContainerResize(null); return component; } public override function removeComponent(component:Component) { _topLevelComponents.remove(component); container.removeChild(component); return component; } ...
The text was updated successfully, but these errors were encountered:
This is working now
Sorry, something went wrong.
No branches or pull requests
cant compile currently need to add return types. if you need a project:
HaxeUITest.zip
haxe/ui/backend/ScreenImpl.hx:67: lines 67-73 : Field addComponent overrides parent class with different or incomplete type
Fix is to add
return component;
The text was updated successfully, but these errors were encountered: