forked from HEL/chronos
		
	fixed group sizing with syncs
This commit is contained in:
		
							
								
								
									
										1
									
								
								TODO.md
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								TODO.md
									
									
									
									
									
								
							| @@ -14,6 +14,7 @@ | |||||||
| - [x] Slanted arrows | - [x] Slanted arrows | ||||||
| - [x] Different types of arrow tips | - [x] Different types of arrow tips | ||||||
| - [x] Sequence comment alignment | - [x] Sequence comment alignment | ||||||
|  | - [x] Fix group size with syncs | ||||||
| - [ ] Fix column spacing with notes over multiple columns | - [ ] Fix column spacing with notes over multiple columns | ||||||
| - [ ] Fix notes with arrows from start / to end / small arrows | - [ ] Fix notes with arrows from start / to end / small arrows | ||||||
| - [ ] Fix group size with self arrows + notes | - [ ] Fix group size with self arrows + notes | ||||||
|   | |||||||
| @@ -21,6 +21,10 @@ | |||||||
|       let (i0, i1) = get-group-span(participants, elmt) |       let (i0, i1) = get-group-span(participants, elmt) | ||||||
|       min-i = calc.min(min-i, i0) |       min-i = calc.min(min-i, i0) | ||||||
|       max-i = calc.max(max-i, i1) |       max-i = calc.max(max-i, i1) | ||||||
|  |     } else if elmt.type == "sync" { | ||||||
|  |       let (i0, i1) = get-group-span(participants, elmt) | ||||||
|  |       min-i = calc.min(min-i, i0) | ||||||
|  |       max-i = calc.max(max-i, i1) | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
|   return (min-i, max-i) |   return (min-i, max-i) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user