Skip to content

Commit

Permalink
Update Color.gs
Browse files Browse the repository at this point in the history
  • Loading branch information
QxBytes authored May 25, 2021
1 parent a94065a commit 527e0d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Color.gs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function colorImage(width=70) {
}
let select = Math.floor(line * ratio) * width + visible;
if (select < data.length && data[select] !== "" && data[select] !== undefined) {
txtObj.setForegroundColor(index, index, data[select]);
txtObj.setBackgroundColor(index, index, data[select]);
}
visible++;
}, doc);
Expand Down

0 comments on commit 527e0d8

Please sign in to comment.