From ebb37a845aa4831bc353fd723848c75ea464aab0 Mon Sep 17 00:00:00 2001 From: Lachlan Kermode Date: Tue, 4 Dec 2018 12:26:23 +0000 Subject: [PATCH] rename other timeline handlers --- src/components/Dashboard.jsx | 6 +++--- src/components/Timeline.jsx | 2 +- src/js/timeline/timeline.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/Dashboard.jsx b/src/components/Dashboard.jsx index 178caf9..950fa7e 100644 --- a/src/components/Dashboard.jsx +++ b/src/components/Dashboard.jsx @@ -133,10 +133,10 @@ class Dashboard extends React.Component { getCategoryColor={category => this.getCategoryColor(category)} /> this.handleToggle('TOGGLE_CARDSTACK')} + // onHighlight={this.handleHighlight} + // onToggle={() => this.handleToggle('TOGGLE_CARDSTACK')} getCategoryColor={category => this.getCategoryColor(category)} /> getEventY(eventPoint)) .style('fill', eventPoint => getEventPointFillColor(eventPoint)) .on('click', eventPoint => { - return methods.select(getAllEventsAtOnce(eventPoint)) + return methods.onSelect(getAllEventsAtOnce(eventPoint)) }) .on('mouseover', handleMouseOver) .on('mouseout', handleMouseOut)