Browse Source

TYPO: private property wasn't called properly

master
chris 7 months ago
parent
commit
ff179f8cee
  1. 4
      src/js/componentAttribute.js

4
src/js/componentAttribute.js

@ -41,7 +41,7 @@ class Dimensions {
* @returns this Dimensions Modifier * @returns this Dimensions Modifier
*/ */
width(pixels) { width(pixels) {
this.x = pixels; this.#x = pixels;
return this; return this;
} }
@ -51,7 +51,7 @@ class Dimensions {
* @returns this Dimensions Modifier * @returns this Dimensions Modifier
*/ */
height(pixels) { height(pixels) {
this.y = pixels; this.#y = pixels;
return this; return this;
} }
} }

Loading…
Cancel
Save