diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-20 19:07:58 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-20 20:15:41 +0300 |
commit | 1a0181bb6d94252fb4e4873eca8cdedc69c348be (patch) | |
tree | 6f9de01cd421092cf883bc29255bf05ce2ac51fc /source/blender/editors/space_graph | |
parent | decc323b4e843c711554ebae632385d52caca113 (diff) |
UI: add support for defining any icon as a mono icon.
Previously it was hardcoded to one row. These icons are colored with the
text color. Changes include some refactoring.
Diffstat (limited to 'source/blender/editors/space_graph')
-rw-r--r-- | source/blender/editors/space_graph/graph_buttons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_graph/graph_buttons.c b/source/blender/editors/space_graph/graph_buttons.c index 1dc57a0da7d..c8b3b182b9c 100644 --- a/source/blender/editors/space_graph/graph_buttons.c +++ b/source/blender/editors/space_graph/graph_buttons.c @@ -760,7 +760,7 @@ static void graph_draw_driven_property_panel(uiLayout *layout, ID *id, FCurve *f uiItemL(row, id->name + 2, icon); /* -> user friendly 'name' for F-Curve/driver target */ - uiItemL(row, "", VICO_SMALL_TRI_RIGHT_VEC); + uiItemL(row, "", ICON_SMALL_TRI_RIGHT_VEC); uiItemL(row, name, ICON_RNA); } |