From 7c755293330e8ebe8717b0a34e6031b4e3186f0d Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Fri, 5 Nov 2021 16:22:48 +0100 Subject: 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 --- source/blender/editors/include/UI_resources.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/editors/include') diff --git a/source/blender/editors/include/UI_resources.h b/source/blender/editors/include/UI_resources.h index 61da496d344..c3a00bedaf8 100644 --- a/source/blender/editors/include/UI_resources.h +++ b/source/blender/editors/include/UI_resources.h @@ -39,6 +39,10 @@ typedef enum { #define BIFICONID_FIRST (ICON_NONE) +/* Removed icon no longer used, defined so that add-ons don't have to be \ + * updated. */ +#define ICON_SMALL_TRI_RIGHT_VEC (ICON_RIGHTARROW) + /* use to denote intentionally unset theme color */ #define TH_UNDEFINED -1 -- cgit v1.2.3