|
|
@ -42,11 +42,11 @@ class Image extends CircleImageBase { |
|
|
|
ctx.save(); |
|
|
|
// if borders are zero width, they will be drawn with width 1 by default. This prevents that
|
|
|
|
if (borderWidth > 0) { |
|
|
|
this.enableBorderDashes(ctx); |
|
|
|
this.enableBorderDashes(ctx, values); |
|
|
|
//draw the border
|
|
|
|
ctx.stroke(); |
|
|
|
//disable dashed border for other elements
|
|
|
|
this.disableBorderDashes(ctx); |
|
|
|
this.disableBorderDashes(ctx, values); |
|
|
|
} |
|
|
|
ctx.restore(); |
|
|
|
|
|
|
|