Skip to content

Commit

Permalink
Implement tint coloring for uniform color tiles
Browse files Browse the repository at this point in the history
  • Loading branch information
idakandrew authored Dec 31, 2021
1 parent 7dadb92 commit 7d23ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/boxy.nim
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ proc drawImage*(
if imageInfo.tiles.len == 0:
boxy.drawRect(
rect(pos, imageInfo.size.vec2),
imageInfo.oneColor
imageInfo.oneColor * tintColor
)
else:
var i = 0
Expand Down

0 comments on commit 7d23ab9

Please sign in to comment.