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
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user