Skip to content

Commit

Permalink
Update BetterInput.js
Browse files Browse the repository at this point in the history
shut up eslint
  • Loading branch information
SharkPool-SP authored Aug 19, 2023
1 parent 99f027f commit abadd6e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions extensions/SharkPool/BetterInput.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This extension was made by SharkPool
* Version 2.1 (Fixes, Booleans, More Customization, Rotation, More Effects, and Performance Updates)
* Next Update: Image Setting Additions
* Next Update: Redo Effects Tab (again but cooler) & Image Setting Additions
* Do NOT delete these comments
*/

Expand Down Expand Up @@ -217,7 +217,7 @@
FONT: {
type: Scratch.ArgumentType.STRING,
menu: "fontMenu",
defaultValue: "Arial",
defaultValue: "Sans Serif",
},
},
},
Expand Down Expand Up @@ -627,7 +627,7 @@
isDropdown(args) {
return this.isDropdownOpen;
}

showEffect(args) {
const effect = args.EFFECT;
return this[effect];
Expand All @@ -636,7 +636,7 @@
setEffect(args) {
const effect = args.EFFECT;
this[effect] = args.AMT;

this.activeOverlays.forEach((overlay) => {
this.updateEffect(overlay);
});
Expand Down Expand Up @@ -1159,7 +1159,7 @@
const optionList = this.optionList;
const numOfOptions = optionList.split(this.splitKey).length;
const options = this.optionList.split(this.splitKey);
const listing = Math.floor((optionList.length/2) / numOfOptions) -1;
const listing = Math.floor((optionList.length / 2) / numOfOptions) - 1;
for (let i = 1; i <= numOfOptions; i++) {
const optionButton = document.createElement("button");
optionButton.style.marginRight = "5px";
Expand Down

0 comments on commit abadd6e

Please sign in to comment.