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

Commit 8591ab4

Browse files
author
tbulle
committed
Temporary fix for bug introduced with new snapline behaviour
1 parent 9cd3cc5 commit 8591ab4

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
@@ -183,7 +183,7 @@ private IEnumerable<DesignItem> AllDesignItems(DesignItem designItem = null)
183183
yield return designItem;
184184
if (designItem.ContentProperty.Value != null) {
185185
yield return designItem.ContentProperty.Value;
186-
designItem = designItem.ContentProperty.Value;
186+
designItem = ExtendedItem; //set designitem back to current control after yield
187187
}
188188
}
189189
}

0 commit comments

Comments
 (0)