Fixed ColorPicker gradients

This commit is contained in:
Tropby 2024-03-10 20:32:59 +01:00
parent 24945d1f15
commit 1ba640a9aa
1 changed files with 1 additions and 1 deletions

View File

@ -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 */