fixed group width containing notes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#import "/src/cetz.typ": draw
|
||||
|
||||
#import "/src/consts.typ": *
|
||||
#import "/src/core/utils.typ": get-ctx, set-ctx
|
||||
#import "/src/core/utils.typ": get-ctx, set-ctx, expand-parent-group
|
||||
|
||||
#let get-size(note) = {
|
||||
let PAD = if note.shape == "hex" {NOTE-HEX-PAD} else {NOTE-PAD}
|
||||
@@ -159,5 +159,7 @@
|
||||
return c
|
||||
})
|
||||
}
|
||||
|
||||
expand-parent-group(x0, x2)
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user