From ff179f8cee835bdd60a6e91f8268405682c2f269 Mon Sep 17 00:00:00 2001 From: chris Date: Sun, 8 Sep 2024 17:41:48 +0200 Subject: [PATCH] TYPO: private property wasn't called properly --- src/js/componentAttribute.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/componentAttribute.js b/src/js/componentAttribute.js index 4af42ec..c580544 100644 --- a/src/js/componentAttribute.js +++ b/src/js/componentAttribute.js @@ -41,7 +41,7 @@ class Dimensions { * @returns this Dimensions Modifier */ width(pixels) { - this.x = pixels; + this.#x = pixels; return this; } @@ -51,7 +51,7 @@ class Dimensions { * @returns this Dimensions Modifier */ height(pixels) { - this.y = pixels; + this.#y = pixels; return this; } }