From 1ba640a9aa2c388991993e4318a6ff6d28e640ae Mon Sep 17 00:00:00 2001 From: Tropby Date: Sun, 10 Mar 2024 20:32:59 +0100 Subject: [PATCH] Fixed ColorPicker gradients --- nuklear.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuklear.h b/nuklear.h index b276b20..d68b43a 100644 --- a/nuklear.h +++ b/nuklear.h @@ -28552,7 +28552,7 @@ nk_draw_color_picker(struct nk_command_buffer *o, const struct nk_rect *matrix, /* draw color matrix */ temp = nk_hsv_f(hsva[0], 1.0f, 1.0f); - nk_fill_rect_multi_color(o, *matrix, white, temp, temp, white); + nk_fill_rect_multi_color(o, *matrix, white, temp, white, temp); nk_fill_rect_multi_color(o, *matrix, black_trans, black_trans, black, black); /* draw cross-hair */