diff options
author | Julian Eisel <julian@blender.org> | 2022-11-02 19:57:36 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2022-11-02 19:57:36 +0300 |
commit | 15fe7f3d936a8f2a0bb82671cdf0a13f943cfdf7 (patch) | |
tree | 53465968c1d12b33477a1714b39c4ca420f1c699 /source/blender/editors/include/UI_interface.h | |
parent | 31746e1baa14fd3a64053aec82a40ffc07f95973 (diff) |
Fix arrow key menu navigation using wrong direction
Steps to reproduce were:
* Right click in 3D View (context menu) press up or down arrow.
Or:
* Ctrl+Shift+O (Open Recent menu) press up or down arrow.
Diffstat (limited to 'source/blender/editors/include/UI_interface.h')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 1098266331f..66b3d9fba6b 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -133,6 +133,8 @@ enum { /** #uiBlock.flag (controls) */ enum { UI_BLOCK_LOOP = 1 << 0, + /** Indicate that items in a popup are drawn with inverted order. Used for arrow key navigation + * so that it knows to invert the navigation direction to match the drawing order. */ UI_BLOCK_IS_FLIP = 1 << 1, UI_BLOCK_NO_FLIP = 1 << 2, UI_BLOCK_NUMSELECT = 1 << 3, |