Skip to content

Commit d30858a

Browse files
dmullisdmullis
authored andcommitted
Issue #25 -- Vertical edges of boxes run together
Regression Testing --- Ran ./pre-push: SVG output of three files changed. Log excerpt: === RUN TestExamples ... examples-regression_test.go:83: Failed to verify contents of 3 .svg files examples-regression_test.go:130: Writing new SVG and HTML delta files into _examples_new/ examples-regression_test.go:149: complicated.html examples-regression_test.go:149: regression.html examples-regression_test.go:149: small-grids.html ... Visual inspection of .html files in browser shows fix effective in _examples_new/small-grids.{html,svg}, and no visually apparent change in the other two sets of results.
1 parent d32cddf commit d30858a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drawable.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,10 @@ func (c *Canvas) getLines(
441441
currentLine = snip(currentLine)
442442
}
443443

444+
if o == S && (r == '.' || lastSeenRune == '\'') {
445+
currentLine = snip(currentLine)
446+
}
447+
444448
switch currentLine.state {
445449
case _Unstarted:
446450
if shouldKeep {

0 commit comments

Comments
 (0)