refactored notes
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
#import "../utils.typ": get-ctx, set-ctx
|
||||
#import "../../consts.typ": *
|
||||
#import "../../cetz.typ": draw, vector
|
||||
#import "note.typ"
|
||||
|
||||
|
||||
#let get-arrow-marks(sym, color) = {
|
||||
@ -166,7 +167,7 @@
|
||||
let y0 = start-info.y
|
||||
if "linked-note" in seq {
|
||||
// TODO: adapt note.render
|
||||
note.render(seq.linked-note, y: start-info.y)
|
||||
(seq.linked-note.draw)(seq.linked-note, y: start-info.y, forced: true)
|
||||
}
|
||||
|
||||
let flip-mark = end-info.i <= start-info.i
|
||||
|
Reference in New Issue
Block a user