We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f10d169 commit 44a4fd1Copy full SHA for 44a4fd1
1 file changed
src/tastytext.lua
@@ -161,7 +161,7 @@ function TastyText:draw()
161
if chunk.image then
162
love.graphics.draw(chunk.image,x+ox,chunk.y)
163
elseif chunk.draw then
164
- chunk.draw(chunk,x+ox,line*self.line_height)
+ chunk.draw(chunk,x+ox,(line-1)*self.line_height)
165
elseif chunk.string then
166
167
local str,new_width = self:_getSubString(chunk,
0 commit comments