Browse Source

small tweaks

v3_develop
Alex de Mulder 9 years ago
parent
commit
c07ebefdc9
5 changed files with 27062 additions and 27062 deletions
  1. +27045
    -27045
      dist/vis.js
  2. +1
    -1
      dist/vis.map
  3. +14
    -14
      dist/vis.min.js
  4. +1
    -1
      lib/network/Edge.js
  5. +1
    -1
      lib/network/Node.js

+ 27045
- 27045
dist/vis.js
File diff suppressed because it is too large
View File


+ 1
- 1
dist/vis.map
File diff suppressed because it is too large
View File


+ 14
- 14
dist/vis.min.js
File diff suppressed because it is too large
View File


+ 1
- 1
lib/network/Edge.js View File

@ -593,7 +593,7 @@ Edge.prototype._label = function (ctx, text, x, y) {
ctx.fillStyle = this.options.fontColor || "black";
ctx.textAlign = "center";
ctx.textBaseline = "middle";
if(this.options.fontStrokeWidth){
if (this.options.fontStrokeWidth > 0){
ctx.lineWidth = this.options.fontStrokeWidth;
ctx.strokeStyle = this.options.fontStrokeColor;
ctx.lineJoin = 'round';

+ 1
- 1
lib/network/Node.js View File

@ -1028,7 +1028,7 @@ Node.prototype._label = function (ctx, text, x, y, align, baseline, labelUnderNo
ctx.fillStyle = this.options.fontColor || "black";
ctx.textAlign = align || "center";
ctx.textBaseline = baseline || "middle";
if(this.options.fontStrokeWidth){
if (this.options.fontStrokeWidth > 0){
ctx.lineWidth = this.options.fontStrokeWidth;
ctx.strokeStyle = this.options.fontStrokeColor;
ctx.lineJoin = 'round';

Loading…
Cancel
Save