make hue correct grid more faded out.
This commit is contained in:
parent
fa0c5a100d
commit
4da7b7089d
@ -1376,9 +1376,11 @@ void ui_draw_but_CURVE(ARegion *ar, uiBut *but, uiWidgetColors *wcol, rcti *rect
|
|||||||
ui_draw_gradient(&grid, col, UI_GRAD_H, 1.0f);
|
ui_draw_gradient(&grid, col, UI_GRAD_H, 1.0f);
|
||||||
|
|
||||||
/* grid, hsv uses different grid */
|
/* grid, hsv uses different grid */
|
||||||
gl_shaded_color((unsigned char *)wcol->inner, -16);
|
glEnable(GL_BLEND);
|
||||||
/* TODO, grid lines does not line up with colors, need to look into this */
|
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||||
|
glColor4ub(0, 0, 0, 48);
|
||||||
ui_draw_but_curve_grid(rect, zoomx, zoomy, offsx, offsy, 0.1666666f);
|
ui_draw_but_curve_grid(rect, zoomx, zoomy, offsx, offsy, 0.1666666f);
|
||||||
|
glDisable(GL_BLEND);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (cumap->flag & CUMA_DO_CLIP) {
|
if (cumap->flag & CUMA_DO_CLIP) {
|
||||||
|
Loading…
Reference in New Issue
Block a user