-
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Milestone
Description
At get-page-dim-writer
, calls to loc.position()
- and thus the pos
variables - must be made outside the state-name.update(...)
call. Therefore, the pos
variables must be declared above the .update
lines seen below.
typst-tablex/src/renderer/old.typ
Lines 38 to 58 in 79c6bbd
place(top + left, locate(loc => { | |
page-dim-state.update(s => { | |
if s.top-left != none { | |
s | |
} else { | |
let pos = loc.position() | |
(top-left: pos, bottom-right: s.bottom-right) | |
} | |
}) | |
})) | |
place(bottom + right, locate(loc => { | |
page-dim-state.update(s => { | |
if s.bottom-right != none { | |
s | |
} else { | |
let pos = loc.position() | |
(top-left: s.top-left, bottom-right: pos) | |
} | |
}) | |
})) |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers