Skip to content

Replace deprecated locate usage - #6

Open
oluceps wants to merge 1 commit into
pncnmnp:masterfrom
oluceps:fix
Open

Replace deprecated locate usage#6
oluceps wants to merge 1 commit into
pncnmnp:masterfrom
oluceps:fix

Conversation

@oluceps

@oluceps oluceps commented Apr 16, 2025

Copy link
Copy Markdown

reference: typst/typst#6086

error: only element functions can be used as selectors
    ┌─ ../poster.typ:120:29
    │  
120 │     show heading: it => locate(loc => {
    │ ╭──────────────────────────────^
121 │ │     // Find out the final number of the heading counter.
122 │ │     let levels = counter(heading).at(loc)
123 │ │     let deepest = if levels != () {
    · │
160 │ │     ]
161 │ │   })
    │ ╰───^

@oluceps oluceps changed the title Replace deprecated locate function Replace deprecated locate usage Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant