diff --git a/core/scrollbar.js b/core/scrollbar.js index 6a3e738bd..14ee7eac3 100644 --- a/core/scrollbar.js +++ b/core/scrollbar.js @@ -306,8 +306,7 @@ Blockly.Scrollbar.prototype.resizeHorizontal_ = function(hostMetrics) { this.svgKnob_.setAttribute('width', Math.max(0, innerLength)); this.xCoordinate = hostMetrics.absoluteLeft + 0.5; if (this.pair_ && this.workspace_.RTL) { - //this.xCoordinate += hostMetrics.absoluteLeft + - // Blockly.Scrollbar.scrollbarThickness; + this.xCoordinate += Blockly.Scrollbar.scrollbarThickness; } // Horizontal toolbar should always be just above the bottom of the workspace. this.yCoordinate = hostMetrics.absoluteTop + hostMetrics.viewHeight -