Page MenuHome

Bug7140_scrollbar.patch

Bug7140_scrollbar.patch

Index: drawtext.c
===================================================================
--- drawtext.c (revision 12730)
+++ drawtext.c (working copy)
@@ -730,7 +730,7 @@
lbarstart= st->top;
lbarh= st->viewlines;
- ltexth= txt_get_span(st->text->lines.first, st->text->lines.last)+1;
+ ltexth= txt_get_span(st->text->lines.first, st->text->lines.last) + st->viewlines / 2 + 2;
barheight= (lbarh*(curarea->winy-4))/ltexth;
if (barheight<20) barheight=20;

File Metadata

Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ef/80/3c49c3504380a28a3905f5ce776f

Event Timeline