Skip to content

Commit e6fa426

Browse files
committed
Fixed MatrixRain() Transition
1 parent 1f7449b commit e6fa426

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/Transitiontypes/Transition.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -927,8 +927,8 @@ uint16_t Transition::transitionMatrixRain() {
927927
}
928928
}
929929
float progress = static_cast<float>(phase) / static_cast<float>(frames);
930-
for (col = 0; col < usedUhrType->rowsWordMatrix(); col++) {
931-
for (row = 0; row < usedUhrType->colsWordMatrix(); row++) {
930+
for (col = 0; col < usedUhrType->colsWordMatrix(); col++) {
931+
for (row = 0; row < usedUhrType->rowsWordMatrix(); row++) {
932932
fadeColor =
933933
fadeColor.LinearBlend(old[row][col], act[row][col], progress);
934934
rainColor = rain[col].get(row);

0 commit comments

Comments
 (0)