shithub: neindaw

Download patch

ref: 8f27ffaf6569d4284b370a25377e6dd86edfa563
parent: 6da202f15fe72e56a509f617b1544b9b6cbe4864
author: Sigrid Haflínudóttir <[email protected]>
date: Wed May 13 08:17:34 EDT 2020

ui: some forgotten update

--- a/ui/ui.c
+++ b/ui/ui.c
@@ -96,8 +96,8 @@
 	icossin(a+v, &p0.x, &p0.y);
 	p1.x = c.x + p0.x*(style.knob.r-style.knob.w*4/3)/1024;
 	p1.y = c.y - p0.y*(style.knob.r-style.knob.w*4/3)/1024;
-	p0.x = c.x + p0.x*style.knob.w/1024;
-	p0.y = c.y - p0.y*style.knob.w/1024;
+	p0.x = c.x + p0.x*style.knob.w*3/1024;
+	p0.y = c.y - p0.y*style.knob.w*3/1024;
 	line(screen, p0, p1, 0, 0, 0, color[Dfhigh], ZP);
 	r.max.y += 2*style.knob.r;