Undo first removes control points

This commit is contained in:
Devine Lu Linvega
2017-11-06 08:15:31 +13:00
parent cb0d2edb1d
commit 0e32be5314
4 changed files with 9 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ function Path_Arc(from,to,orientation,end)
{
var html = ""
if(!prev){
if(!prev || (!prev.to && !prev.end)){
html += "M"+this.from+" ";
}
else if(prev){