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
This commit is contained in:
committed by
Sybren A. Stüvel
parent
983e4a7543
commit
63cb33139f
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user