Skip to content

Commit

Permalink
fix: fix showTextWaitingTag
Browse files Browse the repository at this point in the history
  • Loading branch information
mui-z committed Oct 10, 2022
1 parent 157e348 commit d70157d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public class NovelController: Controller {
let checkListRange = displayEvents[offset ..< displayEvents.count]
let endIndex = checkListRange
.firstIndex(where: { $0 == .tapWaitAndNewline || $0 == .tapWait || $0 == .end })
.map { $0 - 1 } ?? (index - 3 < 0 ? index + 2 : (index - 3))
.map { $0 - 1 }!

let events = displayEvents[index...endIndex]

Expand Down

0 comments on commit d70157d

Please sign in to comment.