diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2014-02-17 12:26:19 +0400 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2014-02-17 12:28:13 +0400 |
commit | 80f3956972aad9822ff9d751578ee3d984eb3bec (patch) | |
tree | 04b1b1072fc43844ed53cb22486445afefb9a83e | |
parent | 14b9c79483ec5f282dc04a5efe5945653dc0a678 (diff) |
Fix T38643: Frame labels are invisible with default theme.
The color for frame labels was a mix of the text color (black by
default) and the node theme color with a factor of 0.8, which
coincidentally is the same as the node body color.
Changed it to 0.4, which is the same as the regular node labels use.
-rw-r--r-- | source/blender/editors/space_node/drawnode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c index 56036506633..8c6a807f87f 100644 --- a/source/blender/editors/space_node/drawnode.c +++ b/source/blender/editors/space_node/drawnode.c @@ -401,7 +401,7 @@ static void node_draw_frame_label(bNodeTree *ntree, bNode *node, const float asp BLF_size(fontid, MIN2(24, font_size), U.dpi); /* clamp otherwise it can suck up a LOT of memory */ /* title color */ - UI_ThemeColorBlendShade(TH_TEXT, color_id, 0.8f, 10); + UI_ThemeColorBlendShade(TH_TEXT, color_id, 0.4f, 10); width = BLF_width(fontid, label, sizeof(label)); ascender = BLF_ascender(fontid); |