@@ -347,7 +347,7 @@ function splitToPanels(d) {
347
347
var revolverPanel1 = extendFlat ( { } , d , {
348
348
key : 'cells1' ,
349
349
type : 'cells' ,
350
- anchor : 0 , // will be mutated on scroll; points to current place
350
+ anchor : 0 ,
351
351
page : 0 ,
352
352
dragHandle : false ,
353
353
values : d . calcdata . cells . values [ d . specIndex ] ,
@@ -356,13 +356,14 @@ function splitToPanels(d) {
356
356
var revolverPanel2 = extendFlat ( { } , d , {
357
357
key : 'cells2' ,
358
358
type : 'cells' ,
359
- anchor : d . calcdata . rowBlocks [ 1 ] ? - totalHeight ( d . calcdata . rowBlocks [ 1 ] ) : 0 , // will be mutated on scroll; points to current place
359
+ anchor : 0 ,
360
360
page : - 1 ,
361
361
dragHandle : false ,
362
362
values : d . calcdata . cells . values [ d . specIndex ] ,
363
363
rowBlocks : d . calcdata . rowBlocks
364
364
} ) ;
365
- return [ revolverPanel1 , revolverPanel2 , headerPanel ] ; // order due to SVG using painter's algo
365
+ // order due to SVG using painter's algo:
366
+ return [ revolverPanel1 , revolverPanel2 , headerPanel ] ;
366
367
}
367
368
368
369
function splitToCells ( d ) {
@@ -427,7 +428,7 @@ function makeDragRow(cellsColumnBlock) {
427
428
var yTranslate = d . anchor - scrollY ;
428
429
429
430
return 'translate(0 ' + yTranslate + ')' ;
430
- } ) ;
431
+ } ) //.call(setColumnBlockPositionY) ;
431
432
if ( anchorChanged ) {
432
433
window . clearTimeout ( d . currentRepaint ) ;
433
434
d . currentRepaint = window . setTimeout ( function ( ) {
0 commit comments