Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
order of operations my beloved
Browse files Browse the repository at this point in the history
  • Loading branch information
homchom committed Dec 21, 2023
1 parent d174c28 commit ea8793f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,6 @@ class ExpressionHighlighter {
private fun styleAt(depth: Int) = if (depth == 0) {
style()
} else {
style().color(colors[depth - 1 % colors.size])
style().color(colors[(depth - 1) % colors.size])
}
}

0 comments on commit ea8793f

Please sign in to comment.