Skip to content

Commit de3801d

Browse files
committed
report mouse event in clickannotation
1 parent 2105fd4 commit de3801d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/annotations/draw.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ function drawOne(gd, index) {
112112
gd.emit('plotly_clickannotation', {
113113
index: index,
114114
annotation: optionsIn,
115-
fullAnnotation: options
115+
fullAnnotation: options,
116+
event: d3.event
116117
});
117118
});
118119

0 commit comments

Comments
 (0)