Skip to content

Commit

Permalink
fix: Right animation doesn't start immediately when selected (#896)
Browse files Browse the repository at this point in the history
  • Loading branch information
amrsalah3 authored Apr 30, 2024
1 parent 671f132 commit 8a549e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class PreviewBadge : View {
val rightCondition = validMarquee || flashLEDOn &&
i < checkList.size &&
j < checkList[i].list.size &&
checkList[i].list[(animationValue + j + checkListLength - badgeWidth / 2).rem(checkListLength)]
checkList[i].list[(animationValue + j + checkListLength - badgeWidth).rem(checkListLength)]

drawLED(
rightCondition,
Expand Down

0 comments on commit 8a549e8

Please sign in to comment.