Skip to content

Commit

Permalink
npm run format
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Dec 29, 2024
1 parent 7de5ca1 commit f9a7051
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions extensions/obviousAlexC/penPlus.js
Original file line number Diff line number Diff line change
Expand Up @@ -4136,11 +4136,13 @@
y = Math.floor(y - 1);
const colorIndex = (y * curCostume.width + x) * 4;
if (textureData[colorIndex] && x < curCostume.width && x >= 0) {
return this.colorLib.rgbtoSColor({
R: textureData[colorIndex] / 2.55,
G: textureData[colorIndex + 1] / 2.55,
B: textureData[colorIndex + 2] / 2.55,
}) || "0";
return (
this.colorLib.rgbtoSColor({
R: textureData[colorIndex] / 2.55,
G: textureData[colorIndex + 1] / 2.55,
B: textureData[colorIndex + 2] / 2.55,
}) || "0"
);
}
return this.colorLib.rgbtoSColor({ R: 100, G: 100, B: 100 });
}
Expand Down

0 comments on commit f9a7051

Please sign in to comment.