File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -288,8 +288,8 @@ proto.updateFx = function(options) {
288
288
fullLayout . hovermode = options . hovermode ;
289
289
} ;
290
290
291
- var relayoutCallback = function ( scene ) {
292
291
292
+ function relayoutCallback ( scene ) {
293
293
var xrange = scene . xaxis . range ,
294
294
yrange = scene . yaxis . range ;
295
295
@@ -300,8 +300,10 @@ var relayoutCallback = function(scene) {
300
300
scene . graphDiv . layout . yaxis . range = yrange . slice ( 0 ) ;
301
301
302
302
// Make a meaningful value to be passed on to the possible 'plotly_relayout' subscriber(s)
303
- var update = { // scene.camera has no many useful projection or scale information
304
- lastInputTime : scene . camera . lastInputTime // helps determine which one is the latest input (if async)
303
+ // scene.camera has no many useful projection or scale information
304
+ // helps determine which one is the latest input (if async)
305
+ var update = {
306
+ lastInputTime : scene . camera . lastInputTime
305
307
} ;
306
308
update [ scene . xaxis . _name ] = xrange . slice ( ) ;
307
309
update [ scene . yaxis . _name ] = yrange . slice ( ) ;
You can’t perform that action at this time.
0 commit comments