mirror of
https://github.com/google/blockly.git
synced 2026-01-10 10:27:08 +01:00
Shift scrollbar position slightly
This commit is contained in:
@@ -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 -
|
||||
|
||||
Reference in New Issue
Block a user