Skip to content

Commit

Permalink
Display-Text -- V1.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
SharkPool-SP authored Aug 31, 2024
1 parent 791cc6d commit 0660536
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions extensions/SharkPool/Display-Text.js
Original file line number Diff line number Diff line change
Expand Up @@ -697,8 +697,7 @@
elements.forEach((element) => {
element.style[args.ATT === "letter" ? "letterSpacing" : "lineHeight"] = `${args.SPACING}px`;
});
txtSettings[ID]["letDIS"] = { ID, SPACING : args.SPACING, ATT : "letter" };
txtSettings[ID]["lineDIS"] = { ID, SPACING : args.SPACING, ATT : "line" };
txtSettings[ID][args.ATT === "letter" ? "letDIS" : "lineDIS"] = { ...args, ID };
}

presetTextPosition(args) {
Expand Down Expand Up @@ -944,7 +943,6 @@
resetTxt(args) { delete txtSettings[this.fixID(args.ID)] }

reuseStyle(args) {
const ID = this.fixID(args.ID2);
this.updateStyles(txtSettings[this.fixID(args.ID)], this.fixID(args.ID2));
}

Expand Down

0 comments on commit 0660536

Please sign in to comment.