reorganized imports

This commit is contained in:
2025-07-15 12:36:30 +02:00
parent ef2541f267
commit 08f7eea0e4
18 changed files with 44 additions and 53 deletions

View File

@ -1,5 +1,6 @@
#import "../utils.typ": get-ctx, set-ctx
#import "../../cetz.typ": draw
#import "/src/cetz.typ": draw
#import "/src/core/utils.typ": get-ctx, set-ctx
#let render(delay) = get-ctx(ctx => {
let y0 = ctx.y

View File

@ -1,5 +1,5 @@
#import "../utils.typ": get-ctx, set-ctx
#import "../../consts.typ": *
#import "/src/consts.typ": *
#import "/src/core/utils.typ": get-ctx, set-ctx
#let render(evt) = get-ctx(ctx => {
let par-name = evt.participant

View File

@ -1,6 +1,7 @@
#import "../utils.typ": get-ctx, set-ctx
#import "../../consts.typ": *
#import "../../cetz.typ": draw
#import "/src/cetz.typ": draw
#import "/src/consts.typ": *
#import "/src/core/utils.typ": get-ctx, set-ctx
#let render-start(grp) = get-ctx(ctx => {
let grp = grp

View File

@ -1,6 +1,7 @@
#import "../../consts.typ": *
#import "../utils.typ": get-ctx, set-ctx
#import "../../cetz.typ": draw
#import "/src/cetz.typ": draw
#import "/src/consts.typ": *
#import "/src/core/utils.typ": get-ctx, set-ctx
#let get-size(note) = {
let PAD = if note.shape == "hex" {NOTE-HEX-PAD} else {NOTE-PAD}

View File

@ -1,6 +1,7 @@
#import "../../consts.typ": *
#import "../../cetz.typ": draw
#import "../utils.typ": get-ctx, set-ctx, get-style
#import "/src/cetz.typ": draw
#import "/src/consts.typ": *
#import "/src/core/utils.typ": get-ctx, get-style, set-ctx
#let get-size(par) = {
if par.invisible {

View File

@ -1,6 +1,7 @@
#import "../utils.typ": get-ctx, set-ctx
#import "../../consts.typ": *
#import "../../cetz.typ": draw
#import "/src/cetz.typ": draw
#import "/src/consts.typ": *
#import "/src/core/utils.typ": get-ctx, set-ctx
#let render(sep) = get-ctx(ctx => {
ctx.y -= Y-SPACE

View File

@ -1,8 +1,8 @@
#import "../utils.typ": get-ctx, set-ctx
#import "../../consts.typ": *
#import "../../cetz.typ": draw, vector
#import "note.typ"
#import "/src/cetz.typ": draw, vector
#import "note.typ"
#import "/src/consts.typ": *
#import "/src/core/utils.typ": get-ctx, set-ctx
#let get-arrow-marks(sym, color) = {
if sym == none {

View File

@ -1,4 +1,4 @@
#import "../utils.typ": get-ctx, set-ctx, is-elmt
#import "/src/core/utils.typ": get-ctx, is-elmt, set-ctx
#let render(sync) = get-ctx(ctx => {
set-ctx(c => {