|
@@ -65,6 +65,7 @@ function drawTrack(
|
|
|
const fsize = fontSize || defaultFontSize;
|
|
|
const ny = y + fsize;
|
|
|
gmObj
|
|
|
+ .stroke(defaultColor, 1)
|
|
|
.fill(color || defaultColor)
|
|
|
.fontSize(fsize)
|
|
|
.drawText(x, ny, text);
|
|
@@ -80,7 +81,7 @@ function drawTrack(
|
|
|
gmObj
|
|
|
.stroke(defaultColor, 2)
|
|
|
.fill('none')
|
|
|
- .drawEllipse(cx, cy, cx, cy, 0, 360);
|
|
|
+ .drawEllipse(cx, cy, rx, ry, 0, 360);
|
|
|
return;
|
|
|
}
|
|
|
|