@@ -83,12 +83,12 @@ function drawRaw(gd, options, index, xa, ya) {
83
83
var fullLayout = gd . _fullLayout ;
84
84
var gs = gd . _fullLayout . _size ;
85
85
86
- var className = options . _scene ?
87
- 'annotation-' + options . _scene :
86
+ var className = options . _sceneId ?
87
+ 'annotation-' + options . _sceneId :
88
88
'annotation' ;
89
89
90
- var annbase = options . _scene ?
91
- options . _scene + '.annotations[' + index + ']' :
90
+ var annbase = options . _sceneId ?
91
+ options . _sceneId + '.annotations[' + index + ']' :
92
92
'annotations[' + index + ']' ;
93
93
94
94
// remove the existing annotation if there is one
@@ -515,7 +515,7 @@ function drawRaw(gd, options, index, xa, ya) {
515
515
516
516
// the arrow dragger is a small square right at the head, then a line to the tail,
517
517
// all expanded by a stroke width of 6px plus the arrow line width
518
- if ( gd . _context . editable && arrow . node ( ) . parentNode && ! options . _scene ) {
518
+ if ( gd . _context . editable && arrow . node ( ) . parentNode && ! options . _sceneId ) {
519
519
var arrowDragHeadX = headX ;
520
520
var arrowDragHeadY = headY ;
521
521
if ( options . standoff ) {
@@ -625,7 +625,7 @@ function drawRaw(gd, options, index, xa, ya) {
625
625
626
626
drawArrow ( dx , dy ) ;
627
627
}
628
- else if ( ! options . _scene ) {
628
+ else if ( ! options . _sceneId ) {
629
629
if ( xa ) update [ annbase + '.x' ] = options . x + dx / xa . _m ;
630
630
else {
631
631
var widthFraction = options . _xsize / gs . w ,
0 commit comments