@@ -570,7 +570,7 @@ module.exports = React.createClass({
570
570
var boundingRect = node . getBoundingClientRect ( ) ;
571
571
var scrollDelta = boundingRect . bottom + pixelOffset - wrapperRect . bottom ;
572
572
573
- debuglog ( "Scrolling to token '" + node . dataset . scrollToken + "'+" +
573
+ debuglog ( "ScrollPanel: scrolling to token '" + node . dataset . scrollToken + "'+" +
574
574
pixelOffset + " (delta: " + scrollDelta + ")" ) ;
575
575
576
576
if ( scrollDelta != 0 ) {
@@ -582,7 +582,7 @@ module.exports = React.createClass({
582
582
_saveScrollState : function ( ) {
583
583
if ( this . props . stickyBottom && this . isAtBottom ( ) ) {
584
584
this . scrollState = { stuckAtBottom : true } ;
585
- debuglog ( "Saved scroll state" , this . scrollState ) ;
585
+ debuglog ( "ScrollPanel: Saved scroll state" , this . scrollState ) ;
586
586
return ;
587
587
}
588
588
@@ -601,12 +601,12 @@ module.exports = React.createClass({
601
601
trackedScrollToken : node . dataset . scrollToken ,
602
602
pixelOffset : wrapperRect . bottom - boundingRect . bottom ,
603
603
} ;
604
- debuglog ( "Saved scroll state" , this . scrollState ) ;
604
+ debuglog ( "ScrollPanel: saved scroll state" , this . scrollState ) ;
605
605
return ;
606
606
}
607
607
}
608
608
609
- debuglog ( "Unable to save scroll state: found no children in the viewport" ) ;
609
+ debuglog ( "ScrollPanel: unable to save scroll state: found no children in the viewport" ) ;
610
610
} ,
611
611
612
612
_restoreSavedScrollState : function ( ) {
@@ -640,7 +640,7 @@ module.exports = React.createClass({
640
640
this . _lastSetScroll = scrollNode . scrollTop ;
641
641
}
642
642
643
- debuglog ( "Set scrollTop:" , scrollNode . scrollTop ,
643
+ debuglog ( "ScrollPanel: set scrollTop:" , scrollNode . scrollTop ,
644
644
"requested:" , scrollTop ,
645
645
"_lastSetScroll:" , this . _lastSetScroll ) ;
646
646
} ,
0 commit comments