Browse Source

MINOR,FIX: In established functionallities

- fixed setting radius on bottomRight corner (Shape)
- fixed value assignment for lineStyles of Border(s)
- Fixed class init in builder of InputComponent
master
chris 2 months ago
parent
commit
771a05dba8
  1. 2
      src/builder.js
  2. 2
      src/sizeSide/border.js
  3. 2
      src/sizeSide/shapes.js

2
src/builder.js

@ -166,7 +166,7 @@ const builder = {
* @returns {Component}
*/
textarea: function (attr = {}) {
return new InputComponentComponent(
return new InputComponent(
document.createElement("textarea"),
attr
)

2
src/sizeSide/border.js

@ -147,7 +147,7 @@ class Border extends Sides {
setLineStyles(refSideStyleMap) {
let rkeys = Object.keys(refSideStyleMap);
for (let i = 0; i < array.length; i++) {
this._sidingStyles.setBySidingRef(rkeys[i]) = refSideStyleMap[rkeys[i]];
this._sidingStyles.setBySidingRef(rkeys[i], refSideStyleMap[rkeys[i]]);
}
return this;
}

2
src/sizeSide/shapes.js

@ -50,7 +50,7 @@ class Shape extends DirectionUnitDependentAttribute {
* @returns {Shape}
*/
bottomRight(amount) {
this.fThird = amount;
this._fThird = amount;
return this;
}
/**

Loading…
Cancel
Save