Merge pull request #184 from Nathanaela/Invalid_Page_Size_Calc

Fixes the invalid calculation of page size in Line Wrapper.
This commit is contained in:
Devon Govett 2013-12-03 13:06:11 -08:00
commit d44a8cbca6

View File

@ -33,7 +33,7 @@ class LineWrapper extends EventEmitter
@column = 1
# calculate the maximum Y position the text can appear at
@maxY = @startY + options.height - @document.currentLineHeight()
@maxY = @startY + options.height
# make sure we're actually on the page
# and that the first line of is never by