mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-11-04 04:47:13 +08:00 
			
		
		
		
	Fix resizable conflict (#483)
This commit is contained in:
		@ -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));
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user