fixed full page diagrams

This commit is contained in:
Louis Heredero 2024-06-14 07:41:52 +02:00
parent 99b9037719
commit d75e447bf3
Signed by: HEL
GPG Key ID: 8D83DE470F8544E7

View File

@ -489,6 +489,9 @@
)
})
if config.full-page {
cnvs
} else {
layout(size => {
let m = measure(cnvs)
let w = m.width
@ -514,6 +517,7 @@
scale(x: r, y: r, cnvs, reflow: true)
)
})
}
}
#let make(config) = {