diff --git a/wled00/FX.cpp b/wled00/FX.cpp index 1abca885..f0d84c64 100644 --- a/wled00/FX.cpp +++ b/wled00/FX.cpp @@ -5207,6 +5207,7 @@ uint16_t mode_2Dmatrix(void) { // Matrix2D. By Jeremy Williams. oldSpawnColor = SEGMENT.getPixelColorXY(SEGENV.aux0, SEGENV.aux1); // find color of previous spawns SEGENV.aux1 ++; // our sample pixel will be one row down the next time } + if ((oldSpawnColor == CRGB::Black) || (oldSpawnColor == trailColor)) oldSpawnColor = spawnColor; // reject "black", as it would mean that ALL pixels create trails // move pixels one row down. Falling codes keep color and add trail pixels; all others pixels are faded for (int row=rows-1; row>=0; row--) {