From 63cb33139f68bfa0246c46e58bcafeaaade43cbe Mon Sep 17 00:00:00 2001 From: Pratik Borhade Date: Tue, 9 Jul 2024 17:57:07 +0200 Subject: [PATCH] Fix #124288: Channels overlap the Dope Sheet search Channels are drawn after/on top of the search box. To fix this, move `ED_time_scrub_channel_search_draw` below the channel drawing function. Pull Request: https://projects.blender.org/blender/blender/pulls/124331 --- source/blender/editors/space_action/space_action.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/blender/editors/space_action/space_action.cc b/source/blender/editors/space_action/space_action.cc index f288c548110..4ef7a7badf9 100644 --- a/source/blender/editors/space_action/space_action.cc +++ b/source/blender/editors/space_action/space_action.cc @@ -285,9 +285,6 @@ static void action_channel_region_draw(const bContext *C, ARegion *region) /* clear and setup matrix */ UI_ThemeClearColor(TH_BACK); - /* channel filter next to scrubbing area */ - ED_time_scrub_channel_search_draw(C, region, ac.ads); - if (!has_valid_animcontext) { return; } @@ -307,6 +304,9 @@ static void action_channel_region_draw(const bContext *C, ARegion *region) UI_view2d_view_ortho(v2d); draw_channel_names((bContext *)C, &ac, region, anim_data); + /* channel filter next to scrubbing area */ + ED_time_scrub_channel_search_draw(C, region, ac.ads); + /* reset view matrix */ UI_view2d_view_restore(C);