File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -320,6 +320,7 @@ module.exports = DatasetController.extend({
320320 setHoverStyle : function ( point ) {
321321 var model = point . _model ;
322322 var options = point . _options ;
323+ var getHoverColor = helpers . getHoverColor ;
323324
324325 point . $previousStyle = {
325326 backgroundColor : model . backgroundColor ,
@@ -328,8 +329,8 @@ module.exports = DatasetController.extend({
328329 radius : model . radius
329330 } ;
330331
331- model . backgroundColor = valueOrDefault ( options . hoverBackgroundColor , helpers . getHoverColor ( options . backgroundColor ) ) ;
332- model . borderColor = valueOrDefault ( options . hoverBorderColor , helpers . getHoverColor ( options . borderColor ) ) ;
332+ model . backgroundColor = valueOrDefault ( options . hoverBackgroundColor , getHoverColor ( options . backgroundColor ) ) ;
333+ model . borderColor = valueOrDefault ( options . hoverBorderColor , getHoverColor ( options . borderColor ) ) ;
333334 model . borderWidth = valueOrDefault ( options . hoverBorderWidth , options . borderWidth ) ;
334335 model . radius = valueOrDefault ( options . hoverRadius , options . radius ) ;
335336 } ,
You can’t perform that action at this time.
0 commit comments