Commit 001fcaba authored by csillag's avatar csillag

Don't keep calling setActiveHighlights like crazy, on every flicker of the...

Don't keep calling setActiveHighlights like crazy, on every flicker of the mouse pointer. (Bind to mouseover, instead of mousemove.)
parent 4655615b
......@@ -58,7 +58,7 @@ class App
elem.selectAll('.heatmap-pointer')
# Creates highlights corresponding bucket when mouse is hovered
.on 'mousemove', (bucket) =>
.on 'mouseover', (bucket) =>
unless $location.path() == '/viewer' and $location.search()?.id?
provider.notify
method: 'setActiveHighlights'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment