Fix resizable conflict (#483)

This commit is contained in:
Renan
2020-10-06 14:13:31 +01:00
committed by GitHub
parent 05510cdc2b
commit 47aba31eff
13 changed files with 48 additions and 52 deletions

View File

@ -179,8 +179,8 @@ class ParallaxComponent extends PositionComponent {
@mustCallSuper
@override
void resize(Vector2 size) {
super.resize(size);
void onGameResize(Vector2 size) {
super.onGameResize(size);
_layers.forEach((layer) => layer.resize(size));
}