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
path: root/source
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2018-05-07 15:57:05 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2018-05-07 15:57:05 +0300
commit66ec3c7e7f9c8485ee30b5d359965c631d08b38d (patch)
treec0b9ea3fab9d15058a7da091d4f2c2459016d449 /source
parent1f76e6c326f6c1d77d99a5329f7c75b1eeccde9d (diff)
Fix Movieclip editors 'graph' and 'dopesheet' view using themes region
background setting mentioned in T54942 Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D3200
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/interface/resources.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c
index 33d0b2ae608..ce25817c147 100644
--- a/source/blender/editors/interface/resources.c
+++ b/source/blender/editors/interface/resources.c
@@ -173,7 +173,7 @@ const unsigned char *UI_ThemeGetColorPtr(bTheme *btheme, int spacetype, int colo
switch (colorid) {
case TH_BACK:
- if (theme_regionid == RGN_TYPE_WINDOW)
+ if (ELEM(theme_regionid, RGN_TYPE_WINDOW, RGN_TYPE_PREVIEW))
cp = ts->back;
else if (theme_regionid == RGN_TYPE_CHANNELS)
cp = ts->list;