Fixed issue with close

This commit is contained in:
Devine Lu Linvega
2018-05-11 09:13:01 +12:00
parent 1ac7c46c0e
commit b7e8b8e578
4 changed files with 16 additions and 4 deletions

View File

@@ -54,6 +54,10 @@ function Generator(layer)
console.warn(`unknown type:${type}`)
}
}
if(segment.type == "close"){
html += "Z "
}
return html
}