diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_draw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c index 2f3bb019c20..f7ad689a375 100644 --- a/source/blender/editors/space_outliner/outliner_draw.c +++ b/source/blender/editors/space_outliner/outliner_draw.c @@ -3535,8 +3535,7 @@ static void outliner_draw_highlights_recursive(const ARegion *region, } else if (outliner_find_element_with_flag(&te->subtree, TSE_ACTIVE)) { /* Parent highlight for active element in collapsed subtree. */ - immUniformColor4fv(col_highlight); - immRecti(pos, 0, start_y, end_x, start_y + UI_UNIT_Y); + draw_line_highlight(0, start_y, end_x, start_y + UI_UNIT_Y, col_highlight); } } } |