Browse Source

values should be passed to check values.borderDashes (#2599)

babelFix
mnishimura 8 years ago
committed by yotamberk
parent
commit
f1bd8ce8d9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      lib/network/modules/components/nodes/shapes/Image.js

+ 2
- 2
lib/network/modules/components/nodes/shapes/Image.js View File

@ -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();

Loading…
Cancel
Save