Skip to content

Commit fd16ebf

Browse files
committed
Update to make annotation on scrollbar wider
1 parent 159775f commit fd16ebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon/scroll/annotatescrollbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
var height = Math.max(bottom - top, 3);
9898

9999
var elt = frag.appendChild(document.createElement("div"));
100-
elt.style.cssText = "position: absolute; right: 0px; width: " + Math.max(cm.display.barWidth - 1, 2) + "px; top: "
100+
elt.style.cssText = "position: absolute; right: 0px; width: " + Math.max(cm.display.barWidth * 1.5, 2) + "px; top: "
101101
+ (top + this.buttonHeight) + "px; height: " + height + "px";
102102
elt.className = this.options.className;
103103
if (ann.id) {

0 commit comments

Comments
 (0)