Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Vazquez <venomgfx@gmail.com>2018-07-04 16:37:36 +0300
committerPablo Vazquez <venomgfx@gmail.com>2018-07-04 16:39:46 +0300
commitf03079eff0d2c43552872f7ee1c51be4d86a0729 (patch)
tree16dc5d94892033c172eba62c3ac070ceaa7a2446 /source/blender/editors/animation/anim_channels_defines.c
parent1545657d7a496e417a6ccff99f4b633ad9b0f5d8 (diff)
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).
Diffstat (limited to 'source/blender/editors/animation/anim_channels_defines.c')
-rw-r--r--source/blender/editors/animation/anim_channels_defines.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}