Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit d96bfb3

Browse files
Merge pull request #493 from gumme/WpfDesignerSnaplineBugFix
Fix for bug introduced with new snapline behaviour
2 parents 0a4afa3 + 8591ab4 commit d96bfb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Extensions/SnaplinePlacementBehavior.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ private IEnumerable<DesignItem> AllDesignItems(DesignItem designItem = null)
189189
yield return designItem;
190190
if (designItem.ContentProperty.Value != null) {
191191
yield return designItem.ContentProperty.Value;
192-
designItem = designItem.ContentProperty.Value;
192+
designItem = ExtendedItem; //set designitem back to current control after yield
193193
}
194194
}
195195
}

0 commit comments

Comments
 (0)