forked from mtcontrib/homedecor_modpack
Fix wrapped lines not drawing.
This commit is contained in:
parent
c15c0f06ef
commit
cf6e079044
@ -341,6 +341,7 @@ local function make_line_texture(line, lineno)
|
|||||||
ypos = ypos + LINE_HEIGHT
|
ypos = ypos + LINE_HEIGHT
|
||||||
lineno = lineno + 1
|
lineno = lineno + 1
|
||||||
if lineno >= NUMBER_OF_LINES then break end
|
if lineno >= NUMBER_OF_LINES then break end
|
||||||
|
table.insert(texture, fill_line(xpos, ypos, maxw, cur_color))
|
||||||
end
|
end
|
||||||
for ch_i, ch in ipairs(word.chars) do
|
for ch_i, ch in ipairs(word.chars) do
|
||||||
if ch.col ~= cur_color then
|
if ch.col ~= cur_color then
|
||||||
|
Loading…
Reference in New Issue
Block a user