Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/26/10 13:57:47 (15 years ago)
Author:
mkommend
Message:

corrected handling of connections (ticket #867)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/Model/OperatorShape.cs

    r2868 r2872  
    8484      int margin = spacing / 2;
    8585      int posX = margin + this.Rectangle.X;
    86       int posY = this.additionalConnectors[0].Point.Y;
    8786      for (int i = 0; i < this.additionalConnectors.Count; i++) {
    88         this.additionalConnectors[i].Point = new Point(posX, posY);
     87        this.additionalConnectors[i].MoveBy(new Point(posX - this.additionalConnectors[i].Point.X, 0));
    8988        posX += spacing;
    9089      }
Note: See TracChangeset for help on using the changeset viewer.