Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/07/10 04:45:45 (14 years ago)
Author:
swagner
Message:

Implemented reviewers' comments (#893)

Location:
trunk/sources/HeuristicLab.Parameters.Views/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/ValueLookupParameterView.cs

    r3588 r3694  
    144144      Type type = e.Data.GetData("Type") as Type;
    145145      if (!ReadOnly && (type != null) && (Content.DataType.IsAssignableFrom(type))) {
    146         if ((e.KeyState & 8) == 8) e.Effect = DragDropEffects.Link;  // CTRL key
     146        if ((e.KeyState & 32) == 32) e.Effect = DragDropEffects.Link;  // ALT key
    147147        else if ((e.KeyState & 4) == 4) e.Effect = DragDropEffects.Move;  // SHIFT key
    148148        else if ((e.AllowedEffect & DragDropEffects.Copy) == DragDropEffects.Copy) e.Effect = DragDropEffects.Copy;
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/ValueParameterView.cs

    r3588 r3694  
    132132      Type type = e.Data.GetData("Type") as Type;
    133133      if (!ReadOnly && (type != null) && (Content.DataType.IsAssignableFrom(type))) {
    134         if ((e.KeyState & 8) == 8) e.Effect = DragDropEffects.Link;  // CTRL key
     134        if ((e.KeyState & 32) == 32) e.Effect = DragDropEffects.Link;  // ALT key
    135135        else if ((e.KeyState & 4) == 4) e.Effect = DragDropEffects.Move;  // SHIFT key
    136136        else if ((e.AllowedEffect & DragDropEffects.Copy) == DragDropEffects.Copy) e.Effect = DragDropEffects.Copy;
Note: See TracChangeset for help on using the changeset viewer.