]> git.lizzy.rs Git - nothing.git/commitdiff
(#788) make slider cursor opaque
authorrexim <reximkut@gmail.com>
Mon, 1 Jul 2019 18:21:09 +0000 (01:21 +0700)
committerrexim <reximkut@gmail.com>
Mon, 1 Jul 2019 18:21:09 +0000 (01:21 +0700)
src/ui/slider.c

index 59e4f84fc0d76f62af6e2b2cfbced3c78ca085a7..a66576d7b28c482f57e4c882006a40df06af2c14 100644 (file)
@@ -26,7 +26,7 @@ int slider_render(const Slider *slider, Camera *camera, Rect boundary)
         boundary.y,
         cursor_width,
         boundary.h);
-    const Color cursor_color = rgba(1.0f, 0.0f, 0.0f, 0.5f);
+    const Color cursor_color = rgba(1.0f, 0.0f, 0.0f, 1.0f);
     if (camera_fill_rect_screen(camera, cursor, cursor_color) < 0) {
         return -1;
     }