Fix grouped layout algorithm to match other apps.
This commit is contained in:
		
							parent
							
								
									57351dd42a
								
							
						
					
					
						commit
						a6c15217c0
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -113,7 +113,7 @@ Layouter::Layouter(
 | 
			
		|||
, _maxHeight(maxWidth)
 | 
			
		||||
, _minWidth(minWidth)
 | 
			
		||||
, _spacing(spacing)
 | 
			
		||||
, _averageRatio(ranges::accumulate(_ratios, 0.) / _count)
 | 
			
		||||
, _averageRatio(ranges::accumulate(_ratios, 1.) / _count)
 | 
			
		||||
, _maxSizeRatio(_maxWidth / float64(_maxHeight)) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue