diff options
author | Pablo Vazquez <pablovazquez> | 2021-11-05 18:22:48 +0300 |
---|---|---|
committer | Pablo Vazquez <pablo@blender.org> | 2021-11-05 18:23:22 +0300 |
commit | 7c755293330e8ebe8717b0a34e6031b4e3186f0d (patch) | |
tree | 6edb6f9dff18c7b8917f58385c2a79e0be0b01af /source/blender/editors/space_buttons | |
parent | 87e2154dafaaa389c200213894f09a3d951a0409 (diff) |
UI: Use arrow icon on context paths
The current `ICON_SMALL_TRI_RIGHT_VEC` uses dark hard-coded colors ([`0.2`, `0.2`, `0.2`])
which makes it impossible to theme and hard to see in dark contexts.
Use `ICON_RIGHTARROW` to match the Outliner's breadcrumbs. This icon uses `TH_TEXT` so it's visible as long as the rest of the text is.
##### Master
(Properties editor background made red on purpose to be able to see the triangle icon)
{F11713038, size=full}
#### This patch
{F11713039, size=full}
Reviewed By: #user_interface, Severin, HooglyBoogly
Maniphest Tasks: T92771
Differential Revision: https://developer.blender.org/D13106
Diffstat (limited to 'source/blender/editors/space_buttons')
-rw-r--r-- | source/blender/editors/space_buttons/buttons_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_buttons/buttons_context.c b/source/blender/editors/space_buttons/buttons_context.c index 600b04f8563..f5107cb13fd 100644 --- a/source/blender/editors/space_buttons/buttons_context.c +++ b/source/blender/editors/space_buttons/buttons_context.c @@ -1225,7 +1225,7 @@ static void buttons_panel_context_draw(const bContext *C, Panel *panel) /* Add > triangle. */ if (!first) { - uiItemL(row, "", ICON_SMALL_TRI_RIGHT_VEC); + uiItemL(row, "", ICON_RIGHTARROW); } if (ptr->data == NULL) { |