Shift scrollbar position slightly

This commit is contained in:
Rachel Fenichel
2016-04-25 14:31:47 -07:00
parent a27fe99be4
commit de58c07286

View File

@@ -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 -