Update comment to refer to correct function name

This commit is contained in:
Eric Rosenbaum 2017-09-20 14:00:58 -04:00
parent 153d3b7826
commit e668728261
2 changed files with 2 additions and 2 deletions

View file

@ -267,7 +267,7 @@ Blockly.HorizontalFlyout.prototype.scrollTo = function(pos) {
* @private
*/
Blockly.HorizontalFlyout.prototype.wheel_ = function(e) {
// remove scrollTarget to stop auto scrolling in step()
// remove scrollTarget to stop auto scrolling in stepScrollAnimation
this.scrollTarget = null;
var delta = e.deltaX;

View file

@ -355,7 +355,7 @@ Blockly.VerticalFlyout.prototype.scrollTo = function(pos) {
* @private
*/
Blockly.VerticalFlyout.prototype.wheel_ = function(e) {
// remove scrollTarget to stop auto scrolling in step()
// remove scrollTarget to stop auto scrolling in stepScrollAnimation
this.scrollTarget = null;
var delta = e.deltaY;