shithub: zuke

Download patch

ref: 57ce0c691e141db6493ec4c683b55955e64d159b
parent: 9f63a97f4e9d7768ac3b0923d50f43d2d62e2874
author: Sigrid Haflínudóttir <[email protected]>
date: Tue Aug 4 05:38:02 EDT 2020

fix current track highlight position

--- a/zuke.c
+++ b/zuke.c
@@ -186,7 +186,7 @@
 			r.max.y = r.min.y + Scrollheight;
 			draw(screen, r, colors[Dfmed].im, nil, ZP);
 
-			left += Scrollwidth + 4;
+			left += Scrollwidth + 1;
 		}
 
 		p.x = sp.x = left;
@@ -222,7 +222,7 @@
 
 			sel = screen->r;
 
-			p.x = left + 2;
+			p.x = left + 2 + 3;
 			for(j = 0; cols[j] != 0; j++){
 				sel.max.x = p.x + colwidth[j];
 				replclipr(screen, 0, sel);