зеркало из https://github.com/stride3d/GraphX.git
Merge pull request #44 from perturbare/patch-ApplyTemplate-on-deserialize
Call ApplyTemplate during deserialization
This commit is contained in:
Коммит
67cfd40f6e
|
@ -1615,7 +1615,8 @@ namespace GraphX.Controls
|
|||
ctrl.SetPosition(item.Position.X, item.Position.Y);
|
||||
AddVertex(vertexdata, ctrl);
|
||||
LogicCore.Graph.AddVertex(vertexdata);
|
||||
}
|
||||
ctrl.ApplyTemplate();
|
||||
}
|
||||
var elist = data.Where(a => a.Data is TEdge);
|
||||
|
||||
foreach (var item in elist)
|
||||
|
|
Загрузка…
Ссылка в новой задаче