Skip to content

Commit cc45189

Browse files
committed
fix basic annotation reference change bug
1 parent 143749e commit cc45189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/annotations/draw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ function drawOne(gd, index, opt, value) {
157157
if(optionsIn.visible === false) return;
158158

159159
var gs = fullLayout._size;
160-
var oldRef = {xref: optionsIn.xref, yref: optionsIn.yref};
160+
var oldRef = {xref: oldPrivate.xref, yref: oldPrivate.yref};
161161

162162
var axLetters = ['x', 'y'];
163163
for(i = 0; i < 2; i++) {

0 commit comments

Comments
 (0)