diff options
author | Yevgeny Makarov <jenkm> | 2020-10-08 22:25:22 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-10-08 22:25:22 +0300 |
commit | 3d4231babf1e3ff6cd330eaf536232ea8686ca5c (patch) | |
tree | 9fdf6ad34e85e776d338a3c77441f55f593ddb31 /source/blender | |
parent | e90638b9118ba0ef7083604a70768135bfe7d07d (diff) |
UI: Fix opacity of the popover arrow outline
Due to the old AA method, it was necessary to add transparency to the
outline of the popover arrow to match the box outline opacity. This is
no longer required after rB15dda0115c78.
See the differential for before and after screenshots.
Differential Revision: https://developer.blender.org/D9026
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/interface/interface_widgets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c index becfab3cb07..3d98688dc04 100644 --- a/source/blender/editors/interface/interface_widgets.c +++ b/source/blender/editors/interface/interface_widgets.c @@ -4956,7 +4956,7 @@ static void ui_draw_popover_back_impl(const uiWidgetColors *wcol, GPU_blend(GPU_BLEND_ALPHA); immBegin(GPU_PRIM_TRIS, 3); - immUniformColor4ub(UNPACK3(wcol->outline), 166); + immUniformColor4ubv(wcol->outline); immVertex2f(pos, cent_x - unit_half, y); immVertex2f(pos, cent_x + unit_half, y); immVertex2f(pos, cent_x, y + sign * unit_half); |