Skip to content

Commit

Permalink
More minification
Browse files Browse the repository at this point in the history
  • Loading branch information
etimberg committed Jan 12, 2019
1 parent f4ef595 commit 35fcdfd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/controllers/controller.line.js
Expand Up @@ -328,8 +328,9 @@ module.exports = DatasetController.extend({
radius: model.radius
};

model.backgroundColor = valueOrDefault(options.hoverBackgroundColor, helpers.getHoverColor(options.backgroundColor));
model.borderColor = valueOrDefault(options.hoverBorderColor, helpers.getHoverColor(options.borderColor));
var getHoverColor = helpers.getHoverColor;
model.backgroundColor = valueOrDefault(options.hoverBackgroundColor, getHoverColor(options.backgroundColor));
model.borderColor = valueOrDefault(options.hoverBorderColor, getHoverColor(options.borderColor));
model.borderWidth = valueOrDefault(options.hoverBorderWidth, options.borderWidth);
model.radius = valueOrDefault(options.hoverRadius, options.radius);
},
Expand Down

0 comments on commit 35fcdfd

Please sign in to comment.