fixed full page diagrams
This commit is contained in:
parent
99b9037719
commit
d75e447bf3
@ -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) = {
|
||||
|
Loading…
Reference in New Issue
Block a user