We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc1f03a commit 6ec77a5Copy full SHA for 6ec77a5
core/scrollbar.js
@@ -243,7 +243,7 @@ Blockly.Scrollbar.prototype.resize = function(opt_metrics) {
243
// Only show the scrollbar if needed.
244
// Ideally this would also apply to scrollbar pairs, but that's a bigger
245
// headache (due to interactions with the corner square).
246
- this.setVisible(outerLength < hostMetrics.contentHeight);
+ this.setVisible(outerLength < hostMetrics.contentWidth);
247
}
248
this.ratio_ = outerLength / hostMetrics.contentWidth;
249
if (this.ratio_ === -Infinity || this.ratio_ === Infinity ||
0 commit comments