Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decouple introspection and update #154

Open
andreasKroepelin opened this issue Feb 21, 2024 · 0 comments
Open

Decouple introspection and update #154

andreasKroepelin opened this issue Feb 21, 2024 · 0 comments

Comments

@andreasKroepelin
Copy link
Owner

By @laurmaedje on Discord:

What I'm referring to specifically is to change this

locate(loc => {
  repetitions.update(rep => calc.max(rep, pause-counter.at(loc).first() + 1))
})

to this

locate(loc => {
  let c = pause-counter.at(loc).first()
  repetitions.update(rep => calc.max(rep, c + 1))
})

referring to this: https://github.com/typst/packages/blob/98677b0833970b0b08f77e456cdd14aee7e10768/packages/preview/polylux/0.3.1/logic.typ#L252

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

No branches or pull requests

1 participant