calc an actual per-item height even though CM doesn't seem to care
This commit is contained in:
		
							parent
							
								
									170bd0ccb1
								
							
						
					
					
						commit
						841e556f42
					
				|  | @ -276,7 +276,7 @@ function createAppliesToLineWidget(cm) { | ||||||
|         height: itemHeight ? section.applies.length * itemHeight : undefined, |         height: itemHeight ? section.applies.length * itemHeight : undefined, | ||||||
|       }); |       }); | ||||||
|       widget.section = section; |       widget.section = section; | ||||||
|       itemHeight = itemHeight || widget.node.offsetHeight; |       itemHeight = itemHeight || widget.node.offsetHeight / (section.applies.length || 1); | ||||||
|       yield widget; |       yield widget; | ||||||
|     } |     } | ||||||
|     removed.slice(i).forEach(clearWidget); |     removed.slice(i).forEach(clearWidget); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user