Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Craddock <nzcraddock@gmail.com>2020-08-06 22:59:31 +0300
committerNathan Craddock <nzcraddock@gmail.com>2020-08-06 22:59:31 +0300
commit90c60bb0ce8e1b3e567a242f8119198c8073c511 (patch)
tree3d3ad78f73295d93367fc645c9c50a293b78b364 /source/blender/editors/space_outliner/outliner_draw.c
parent8e483b44e7d2225f31e35f5f3ac12452bcddc2aa (diff)
Outliner: Show mode icon on hover
Swap the dot out for the mode icon on hover. Based on studio feedback. Not sure if it should be only hover on the icon, or hover on the whole row.
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_draw.c')
-rw-r--r--source/blender/editors/space_outliner/outliner_draw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c
index 67dca51ac6c..e7de280753a 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -1999,7 +1999,8 @@ static void outliner_draw_mode_column_toggle(uiBlock *block,
but = uiDefIconBut(block,
UI_BTYPE_ICON_TOGGLE,
0,
- ICON_DOT,
+ tselem->flag & TSE_HIGHLIGHTED ? outliner_get_mode_icon(active_mode) :
+ ICON_DOT,
0,
te->ys,
UI_UNIT_X,