From 72f73c0b71c5378c0d33f0eb83222dc68d93a5ad Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Thu, 19 Aug 2021 20:24:38 +0200 Subject: UI: Use theme's alpha for Summary instead of a hardcoded value --- source/blender/editors/space_action/action_draw.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/blender/editors/space_action/action_draw.c b/source/blender/editors/space_action/action_draw.c index a15f3507d7e..a3bdcd2adf5 100644 --- a/source/blender/editors/space_action/action_draw.c +++ b/source/blender/editors/space_action/action_draw.c @@ -248,7 +248,6 @@ void draw_channel_strips(bAnimContext *ac, SpaceAction *saction, ARegion *region uchar gpl_col[4]; if (ale->type == ANIMTYPE_SUMMARY) { color = col_summary; - color[3] = col1[3]; } else if ((show_group_colors) && (ale->type == ANIMTYPE_GPLAYER)) { bGPDlayer *gpl = (bGPDlayer *)ale->data; @@ -274,7 +273,6 @@ void draw_channel_strips(bAnimContext *ac, SpaceAction *saction, ARegion *region uchar *color; if (ale->type == ANIMTYPE_SUMMARY) { color = col_summary; - color[3] = col1[3]; } else { color = sel ? col1 : col2; -- cgit v1.2.3