Scrolling improvements, fixes #13

This commit is contained in:
airstruck
2015-12-21 12:26:07 -05:00
parent 73e9a10b15
commit 147de8e010
7 changed files with 54 additions and 58 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ local function renderMulti (self, font, text, color, align, limit)
sdl.setTextureAlphaMod(self.sdlTexture, alphaMod)
end
self.width, self.height = surface.w, surface.h
self.width, self.height = limit, height
end
function Text:constructor (renderer, font, text, color, align, limit)