From commits-return-1302-archive-asf-public=cust-asf.ponee.io@superset.incubator.apache.org Mon Aug 13 05:44:59 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id E98E218061A for ; Mon, 13 Aug 2018 05:44:58 +0200 (CEST) Received: (qmail 62199 invoked by uid 500); 13 Aug 2018 03:44:57 -0000 Mailing-List: contact commits-help@superset.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@superset.incubator.apache.org Delivered-To: mailing list commits@superset.incubator.apache.org Received: (qmail 62190 invoked by uid 99); 13 Aug 2018 03:44:57 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2018 03:44:57 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 28866822C0; Mon, 13 Aug 2018 03:44:57 +0000 (UTC) Date: Mon, 13 Aug 2018 03:44:57 +0000 To: "commits@superset.apache.org" Subject: [incubator-superset] branch master updated: fix cal_heatmap tips location error (#5480) (#5587) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <153413189695.8165.1873802247058712709@gitbox.apache.org> From: maximebeauchemin@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: incubator-superset X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: d1ef81f1027e1712a222b95088a88af21b941e53 X-Git-Newrev: 7d61eea6040fa195de7278551e631018e6bfd2f6 X-Git-Rev: 7d61eea6040fa195de7278551e631018e6bfd2f6 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. maximebeauchemin pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-superset.git The following commit(s) were added to refs/heads/master by this push: new 7d61eea fix cal_heatmap tips location error (#5480) (#5587) 7d61eea is described below commit 7d61eea6040fa195de7278551e631018e6bfd2f6 Author: Narcissus7 <18813104077@163.com> AuthorDate: Mon Aug 13 11:44:54 2018 +0800 fix cal_heatmap tips location error (#5480) (#5587) * fix cal_heatmap tips location error * fix graph-legend --- superset/assets/vendor/cal-heatmap/cal-heatmap.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superset/assets/vendor/cal-heatmap/cal-heatmap.js b/superset/assets/vendor/cal-heatmap/cal-heatmap.js index 0b00756..0881c9a 100644 --- a/superset/assets/vendor/cal-heatmap/cal-heatmap.js +++ b/superset/assets/vendor/cal-heatmap/cal-heatmap.js @@ -897,7 +897,7 @@ var CalHeatMap = function() { if (options.tooltip) { selection .on("mouseover", function(d) { - self.tip.show(d); + self.tip.show(d, this); }) .on("mouseout", function() { self.tip.hide(d); @@ -3285,7 +3285,7 @@ Legend.prototype.redraw = function(width) { }); legendItem .on("mouseover", function(d) { - calendar.legendTip.show(d); + calendar.legendTip.show(d, this); }) .on("mouseout", function() { calendar.legendTip.hide();