Skip to content

Commit

Permalink
failing test fix
Browse files Browse the repository at this point in the history
UnpinPreviewBubble() was not updating the nodeViewModel
  • Loading branch information
ivaylo-matov committed May 3, 2024
1 parent 39c2146 commit 08c75fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/DynamoCoreWpf/Views/Preview/PreviewControl.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ internal void HidePreviewBubble()
internal void UnpinPreviewBubble()
{
StaysOpen = false;
nodeViewModel.PreviewPinned = false;
this.HidePreviewBubble();
}

Expand Down
2 changes: 1 addition & 1 deletion test/DynamoCoreWpfTests/PreviewBubbleTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void PreviewBubbleVisible_MouseMoveOutOfNode()
}

[Test]
public void PreviewBubbleHiiden_OnFrozenNode()
public void PreviewBubbleHidden_OnFrozenNode()
{
Open(@"core\DetailedPreviewMargin_Test.dyn");
var nodeView = NodeViewWithGuid("7828a9dd-88e6-49f4-9ed3-72e355f89bcc");
Expand Down

0 comments on commit 08c75fc

Please sign in to comment.