Merge pull request #25 from leocereus/PlacementSelectionFix
Removed code that toggles selection when controls are placed
This commit is contained in:
Коммит
5dac874710
|
@ -58,12 +58,6 @@ namespace ICSharpCode.WpfDesign.Designer.Extensions
|
|||
public virtual void EndPlacement(PlacementOperation operation)
|
||||
{
|
||||
InfoTextEnterArea.Stop(ref infoTextEnterArea);
|
||||
|
||||
if (operation.Type != PlacementType.Delete)
|
||||
{
|
||||
this.ExtendedItem.Services.Selection.SetSelectedComponents(null);
|
||||
this.ExtendedItem.Services.Selection.SetSelectedComponents(operation.PlacedItems.Select(x => x.Item).ToList());
|
||||
}
|
||||
}
|
||||
|
||||
public virtual Rect GetPosition(PlacementOperation operation, DesignItem item)
|
||||
|
|
Загрузка…
Ссылка в новой задаче