Skip to content

Commit

Permalink
fix showText
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoGranstrom committed May 23, 2024
1 parent 432ee33 commit 9e3fe78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nimiSlides/autoAnimation.nim
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ template showUntil*(slideNr: int, body: untyped) =
if autoAnimateCounter <= slideNr:
body

template showText*(text: seq[(set[range[0..255]], string)]) =
template showText*(text: seq[(set[range[0..255]] or set[range[0..65535]], string)]) =
var result = ""
for i, (indices, txt) in text:
if indices == {} or autoAnimateCounter in indices:
Expand Down

0 comments on commit 9e3fe78

Please sign in to comment.