fixed group width containing notes
This commit is contained in:
		| @@ -104,4 +104,14 @@ | ||||
| #let get-ctx(func) = draw.get-ctx(c => { | ||||
|   let ctx = c.shared-state.chronos | ||||
|   func(ctx) | ||||
| }) | ||||
|  | ||||
| #let expand-parent-group(x0, x1) = set-ctx(ctx => { | ||||
|   if ctx.groups.len() != 0 { | ||||
|     let group = ctx.groups.last() | ||||
|     group.min-x = calc.min(group.min-x, x0) | ||||
|     group.max-x = calc.max(group.max-x, x1) | ||||
|     ctx.groups.last() = group | ||||
|   } | ||||
|   return ctx | ||||
| }) | ||||
		Reference in New Issue
	
	Block a user