From e78fa020dd6429beaa5245acc10595d31fb1642a Mon Sep 17 00:00:00 2001 From: DrMaxNix Date: Sun, 21 Feb 2021 21:46:21 +0100 Subject: [PATCH] Changed set_pixel and set_matrix to underscores --- pixelimg.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pixelimg.js b/pixelimg.js index 485c110..76f4c9e 100644 --- a/pixelimg.js +++ b/pixelimg.js @@ -130,7 +130,7 @@ class Pixelimg { /* Set pixel at X, Y to COLOR */ - setPixel(OPTIONS){ + set_pixel(OPTIONS){ // CHECK AND GET INPUTS // //x if(OPTIONS.x === parseInt(OPTIONS.x, 10) && OPTIONS.x > -1 && OPTIONS.x < this.matrix_width){ @@ -171,7 +171,7 @@ class Pixelimg { /* Update whole matrix from 2d-array */ - setMatrix(MATRIX){ + set_matrix(MATRIX){ // SET NEW MATRIX // this.matrix = MATRIX;