diff options
author | Harley Acheson <harley.acheson@gmail.com> | 2022-07-30 17:54:12 +0300 |
---|---|---|
committer | Harley Acheson <harley.acheson@gmail.com> | 2022-07-30 17:54:12 +0300 |
commit | 310be2e37cfb756da67806c0a0babb9ff472b803 (patch) | |
tree | e536721dd9dc3b18b194a62573504b757bf8754b /source | |
parent | a5814607289a7e01d4844ee5ef724e6388cf044e (diff) |
UI: UI_MENU_ARROW_SEP Unicode Character
Use a smaller arrow text character as menu item separator.
See D15578 for examples and details.
Differential Revision: https://developer.blender.org/D15578
Reviewed by Julian Eisel
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenlib/intern/string_search.cc | 4 | ||||
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/string_search.cc b/source/blender/blenlib/intern/string_search.cc index 14d85b99739..31ea24eb494 100644 --- a/source/blender/blenlib/intern/string_search.cc +++ b/source/blender/blenlib/intern/string_search.cc @@ -11,8 +11,8 @@ #include "BLI_timeit.hh" /* Right arrow, keep in sync with #UI_MENU_ARROW_SEP in `UI_interface.h`. */ -#define UI_MENU_ARROW_SEP "\xe2\x96\xb6" -#define UI_MENU_ARROW_SEP_UNICODE 0x25b6 +#define UI_MENU_ARROW_SEP "\xe2\x96\xb8" +#define UI_MENU_ARROW_SEP_UNICODE 0x25b8 namespace blender::string_search { diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index afef516b245..163ea7e9493 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -85,7 +85,7 @@ typedef struct uiViewItemHandle uiViewItemHandle; /* Separator for text in search menus (right pointing arrow). * keep in sync with `string_search.cc`. */ -#define UI_MENU_ARROW_SEP "\xe2\x96\xb6" +#define UI_MENU_ARROW_SEP "\xe2\x96\xb8" /* names */ #define UI_MAX_DRAW_STR 400 |