the title_focused_shadow_color is being set twice, and being overridden by the osd color (though not in the texture)
This commit is contained in:
parent
12ca673de5
commit
87fd759ba9
1 changed files with 0 additions and 4 deletions
|
@ -897,13 +897,9 @@ RrTheme* RrThemeNew(const RrInstance *inst, const gchar *name,
|
|||
j = (i > 0 ? 0 : 255);
|
||||
i = ABS(i*255/100);
|
||||
|
||||
theme->title_focused_shadow_color = RrColorNew(inst, j, j, j);
|
||||
theme->title_focused_shadow_alpha = i;
|
||||
theme->osd_shadow_color = RrColorNew(inst, j, j, j);
|
||||
theme->osd_shadow_alpha = i;
|
||||
} else {
|
||||
theme->title_focused_shadow_color = RrColorNew(inst, 0, 0, 0);
|
||||
theme->title_focused_shadow_alpha = 50;
|
||||
theme->osd_shadow_color = RrColorNew(inst, 0, 0, 0);
|
||||
theme->osd_shadow_alpha = 50;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue