Skip to content

Commit

Permalink
fix: fix regression of default value "auto" for repeat
Browse files Browse the repository at this point in the history
  • Loading branch information
OrangeX4 committed Apr 9, 2024
1 parent 541bf12 commit 30dba1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slide.typ
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@
states._sections-step(repetitions)
}
}
self.subslide = 1
// for single page slide, get the repetitions
if repeat == auto {
let (_, repetitions) = _parse-content(
Expand All @@ -433,7 +434,6 @@
repeat = repetitions
}
self.repeat = repeat
self.subslide = 1
let (header, footer) = _get-header-footer(self)
// page header and footer
// for speed up, do not parse the content if repeat is none
Expand Down

0 comments on commit 30dba1e

Please sign in to comment.