Skip to content

Commit

Permalink
fix: interactive scroll (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
a1mersnow authored Jan 31, 2024
1 parent e817ca3 commit af6bb14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export function createSliceRender() {
let focusedLineIndex = 0
let depIndex = 0
for (const line of remainLines) {
if (line.content.includes(FIG_CHECK))
if (line.content.includes(FIG_CHECK) || line.content.includes(FIG_UNCHECK))
depIndex += 1

if (depIndex === selectedDepIndex)
Expand Down

0 comments on commit af6bb14

Please sign in to comment.