chore: Added e2e snapshot tests

This commit is contained in:
Alexander Sage
2019-07-23 21:07:01 -07:00
parent 8b05eeaa59
commit 5c25c5563a
10 changed files with 122 additions and 11 deletions

View File

@@ -413,7 +413,7 @@ export const draw = function (text, id) {
case parser.yy.LINETYPE.RECT_START:
bounds.bumpVerticalPos(conf.boxMargin)
bounds.newLoop(undefined, msg.message)
bounds.bumpVerticalPos(conf.boxMargin + conf.boxTextMargin)
bounds.bumpVerticalPos(conf.boxMargin)
break
case parser.yy.LINETYPE.RECT_END:
const rectData = bounds.endLoop()