|
|
|
@ -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) { |
|
|
|
|