Fix #111017: Gap between color square and frame of box in the color ramp #111168

Closed
Philipp Oeser wants to merge 1 commits from lichtwerk/blender:111017 into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 1 additions and 1 deletions

View File

@ -1129,7 +1129,7 @@ static void ui_draw_colorband_handle(uint shdr_pos,
immUniformColor3ub(0, 0, 0);
ui_draw_colorband_handle_box(
shdr_pos, x - half_width, y1 - 1, x + half_width, y1 + height, false);
shdr_pos, x - half_width, y1 - 1, x + half_width, y1 + height + 1, true);
/* draw all triangles blended */
GPU_blend(GPU_BLEND_ALPHA);