General improvements
This commit is contained in:
@@ -67,7 +67,7 @@ function parseFromJson(json) {
|
||||
|
||||
break;
|
||||
case 'SelfConnection':
|
||||
connection = Object.assign(new SelfConnection(null, {x: 0, y: 0}), connection);
|
||||
connection = Object.assign(new SelfConnection(null), connection);
|
||||
|
||||
connection.state = doc.states.find(state => state.id === connection.state);
|
||||
|
||||
|
Reference in New Issue
Block a user