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
This commit is contained in:
Philipp Oeser 2018-05-07 14:57:05 +02:00
parent 1f76e6c326
commit 66ec3c7e7f
1 changed files with 1 additions and 1 deletions

View File

@ -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;