|
@@ -199,12 +199,12 @@ ApplicationWindow {
|
|
|
ctx.lineWidth = 3
|
|
ctx.lineWidth = 3
|
|
|
ctx.strokeStyle = "#000000"
|
|
ctx.strokeStyle = "#000000"
|
|
|
|
|
|
|
|
- ctx.beginPath()
|
|
|
|
|
|
|
+
|
|
|
var i = 0, j = 0
|
|
var i = 0, j = 0
|
|
|
for (j = 0; j < points_array.length; j++) {
|
|
for (j = 0; j < points_array.length; j++) {
|
|
|
var points = points_array[j].points;
|
|
var points = points_array[j].points;
|
|
|
ctx.strokeStyle= points_array[j].color;
|
|
ctx.strokeStyle= points_array[j].color;
|
|
|
- console.log(points_array[j].color);
|
|
|
|
|
|
|
+ ctx.beginPath()
|
|
|
ctx.moveTo(points[0].x, points[0].y)
|
|
ctx.moveTo(points[0].x, points[0].y)
|
|
|
for (i = 0; i < points.length - 1; i++) {
|
|
for (i = 0; i < points.length - 1; i++) {
|
|
|
ctx.moveTo(points[i].x, points[i].y)
|
|
ctx.moveTo(points[i].x, points[i].y)
|