From 331d54ed31ae1d8bc3088755a2e63a19d6455fae Mon Sep 17 00:00:00 2001 From: Per Nilsson Date: Tue, 3 May 2016 16:26:39 -0700 Subject: [PATCH] Call dragElement.getCursor(), not cursor() Fixes https://github.com/plotly/streambed/issues/6262 --- src/components/annotations/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/annotations/index.js b/src/components/annotations/index.js index 71ffcf1c10d..70deb0b3ffa 100644 --- a/src/components/annotations/index.js +++ b/src/components/annotations/index.js @@ -679,7 +679,7 @@ annotations.draw = function(gd, index, opt, value) { heightFraction, 0, 1, options.yanchor); } if(!xa || !ya) { - csr = dragElement.cursor( + csr = dragElement.getCursor( xa ? 0.5 : update[annbase + '.x'], ya ? 0.5 : update[annbase + '.y'], options.xanchor, options.yanchor