Skip to content

Commit

Permalink
fixes line stroke changing when mouse set to false
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed Jul 12, 2016
1 parent c49fdb3 commit e9285bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/viz/helpers/shapes/line.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,10 @@ module.exports = function(vars,selection,enter,exit) {
//--------------------------------------------------------------------------
mouse
.on(events.over,function(m){
if (!vars.draw.frozen) mouseStyle(vars, this, stroke, 2);
if (!vars.draw.frozen && vars.mouse.value && vars.mouse.over.value) mouseStyle(vars, this, stroke, 2);
})
.on(events.out,function(d){
if (!vars.draw.frozen) mouseStyle(vars, this, stroke, 0);
if (!vars.draw.frozen && vars.mouse.value && vars.mouse.out.value) mouseStyle(vars, this, stroke, 0);
});

if (vars.draw.timing) {
Expand Down

0 comments on commit e9285bf

Please sign in to comment.