From f03079eff0d2c43552872f7ee1c51be4d86a0729 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Wed, 4 Jul 2018 15:37:36 +0200 Subject: UI: Fix channels using editor header color as background Channels were using TH_HEADER which is usually gray and unrelated to channels list. Use sub channel color instead (light blue in the default theme). --- source/blender/editors/animation/anim_channels_defines.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/animation/anim_channels_defines.c') diff --git a/source/blender/editors/animation/anim_channels_defines.c b/source/blender/editors/animation/anim_channels_defines.c index f0bde9dcdfb..6bd333294c5 100644 --- a/source/blender/editors/animation/anim_channels_defines.c +++ b/source/blender/editors/animation/anim_channels_defines.c @@ -223,7 +223,7 @@ static void acf_generic_channel_color(bAnimContext *ac, bAnimListElem *ale, floa else { // FIXME: what happens when the indention is 1 greater than what it should be (due to grouping)? int colOfs = 20 - 20 * indent; - UI_GetThemeColorShade3fv(TH_HEADER, colOfs, r_color); + UI_GetThemeColorShade3fv(TH_DOPESHEET_CHANNELSUBOB, colOfs, r_color); } } -- cgit v1.2.3