Browse Source

Bugfix Polyline

pull/637/head
jkuehner 11 years ago
parent
commit
ef7668a382
  1. 4
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Extensions/PointTrackerPlacementSupport.cs

4
src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Extensions/PointTrackerPlacementSupport.cs

@ -71,10 +71,10 @@ namespace ICSharpCode.WpfDesign.Designer.Extensions @@ -71,10 +71,10 @@ namespace ICSharpCode.WpfDesign.Designer.Extensions
var pg = shape as Polygon;
p = pg.Points[Index];
}
} else if (shape is Polygon) {
} else if (shape is Polyline) {
if (Index > 0)
{
var pg = shape as Polygon;
var pg = shape as Polyline;
p = pg.Points[Index];
}
} else if (shape is Path) {

Loading…
Cancel
Save