Skip to content

Commit

Permalink
Merge branch 'DYN-6864-Undo-renaming-and-collapsing-group' of https:/…
Browse files Browse the repository at this point in the history
  • Loading branch information
pinzart90 committed May 6, 2024
2 parents ddbfba6 + f5a75f5 commit 3b3d42e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/DynamoCore/Graph/Annotations/AnnotationModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -715,14 +715,12 @@ protected override void DeserializeCore(XmlElement element, SaveContext context)
this.InitialTop = helper.ReadDouble("InitialTop", DoubleValue);
this.InitialHeight = helper.ReadDouble("InitialHeight", DoubleValue);
this.IsSelected = helper.ReadBoolean(nameof(IsSelected), false);
this.IsExpanded = helper.ReadBoolean(nameof(IsExpanded), false);
this.IsExpanded = helper.ReadBoolean(nameof(IsExpanded), true);

if (IsSelected)
DynamoSelection.Instance.Selection.Add(this);
else
DynamoSelection.Instance.Selection.Remove(this);


DynamoSelection.Instance.Selection.Remove(this);

//Deserialize Selected models
if (element.HasChildNodes)
Expand Down

0 comments on commit 3b3d42e

Please sign in to comment.