Browse Source

Allow per-edge hover colors

css_transitions
Jeroen Coumans 10 years ago
parent
commit
6176facdca
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/graph/Edge.js

+ 1
- 0
src/graph/Edge.js View File

@ -128,6 +128,7 @@ Edge.prototype.setProperties = function(properties, constants) {
else { else {
if (properties.color.color !== undefined) {this.color.color = properties.color.color;} if (properties.color.color !== undefined) {this.color.color = properties.color.color;}
if (properties.color.highlight !== undefined) {this.color.highlight = properties.color.highlight;} if (properties.color.highlight !== undefined) {this.color.highlight = properties.color.highlight;}
if (properties.color.hover !== undefined) {this.color.hover = properties.color.hover;}
} }
} }

Loading…
Cancel
Save