ntf transparency

This commit is contained in:
kepler155c@gmail.com
2019-07-10 19:02:46 -06:00
parent 8f17657263
commit 0e1b712adc
4 changed files with 15 additions and 9 deletions

View File

@@ -50,9 +50,10 @@ function NFT.parse(imageText)
currFG = getColourOf(nextChar)
fgNext = false
else
if nextChar ~= " " and currFG == nil then
currFG = _G.colors.white
end
--if nextChar ~= " " and currFG == nil then
-- any color not in range is considered transparent
-- currFG = _G.colors.white
--end
image.bg[num][writeIndex] = currBG
image.fg[num][writeIndex] = currFG
image.text[num][writeIndex] = nextChar