summaryrefslogtreecommitdiff
path: root/public/vendor/codemirror/addon/scroll/annotatescrollbar.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/vendor/codemirror/addon/scroll/annotatescrollbar.js')
-rwxr-xr-xpublic/vendor/codemirror/addon/scroll/annotatescrollbar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/vendor/codemirror/addon/scroll/annotatescrollbar.js b/public/vendor/codemirror/addon/scroll/annotatescrollbar.js
index e62a45ac..cf92d16d 100755
--- a/public/vendor/codemirror/addon/scroll/annotatescrollbar.js
+++ b/public/vendor/codemirror/addon/scroll/annotatescrollbar.js
@@ -97,7 +97,7 @@
var height = Math.max(bottom - top, 3);
var elt = frag.appendChild(document.createElement("div"));
- elt.style.cssText = "position: absolute; right: 0px; width: " + Math.max(cm.display.barWidth - 1, 2) + "px; top: "
+ elt.style.cssText = "position: absolute; right: 0px; width: " + Math.max(cm.display.barWidth * 2, 2) + "px; top: "
+ (top + this.buttonHeight) + "px; height: " + height + "px";
elt.className = this.options.className;
}