~rbdr/tomato-sauce

6b909d95ec07848136a6f337db28318c1cd46c60 — Ruben Beltran del Rio 5 months ago 226ad56 main
Use correct var for let
1 files changed, 2 insertions(+), 2 deletions(-)

M lib/screens/circle.js
M lib/screens/circle.js => lib/screens/circle.js +2 -2
@@ 8,7 8,7 @@
 */
module.exports = function (modulation, width, height, renderer) {

  const response = [];
  let response = [];

  const circles = width > height ? height : width;



@@ 26,7 26,7 @@ module.exports = function (modulation, width, height, renderer) {
      const y = Math.round(centerY + Math.cos(angle) * i);

      if (x <= width && x > 0 && y <= height && y > 0) {
        let position = `\x1B[${y};${x}H`; // Move cursor to y,x (CSI y;x H)
        const position = `\x1B[${y};${x}H`; // Move cursor to y,x (CSI y;x H)
        response += `${position}${renderer(red, blue, green)} `;
      }
    }