mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-11-04 04:47:13 +08:00 
			
		
		
		
	Vector2 for position and size on PositionComponent
This commit is contained in:
		@ -93,7 +93,7 @@ class ParallaxLayer {
 | 
			
		||||
 | 
			
		||||
    // Size of the area to paint the images on
 | 
			
		||||
    final paintSize = count..multiply(_imageSize);
 | 
			
		||||
    _paintArea = paintSize.toOriginRect();
 | 
			
		||||
    _paintArea = paintSize.toRect();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  void update(Vector2 delta) {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user