Browse Source

Removed unnecessary set of Effects property to same value, setting Handled to true is enough to give correct feedback to drag source.

pull/568/head
gumme 11 years ago
parent
commit
fcd3a2def1
  1. 2
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Services/CreateComponentTool.cs

2
src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Services/CreateComponentTool.cs

@ -124,8 +124,6 @@ namespace ICSharpCode.WpfDesign.Designer.Services
moveLogic = null; moveLogic = null;
changeGroup.Commit(); changeGroup.Commit();
// Return allowed effects to drag source to signal that the drop was successful.
e.Effects = e.Effects;
e.Handled = true; e.Handled = true;
} }
} catch (Exception x) { } catch (Exception x) {

Loading…
Cancel
Save