Fix 3D view header panning not working with region overlap.

This commit is contained in:
Brecht Van Lommel 2018-06-13 11:32:46 +02:00
parent e4ab04b8bb
commit dcf70dc181
1 changed files with 2 additions and 2 deletions

View File

@ -2252,11 +2252,11 @@ void ED_region_header_layout(const bContext *C, ARegion *ar)
void ED_region_header_draw(const bContext *C, ARegion *ar)
{
UI_view2d_view_ortho(&ar->v2d);
/* clear */
region_clear_color(C, ar, region_background_color_id(C, ar));
UI_view2d_view_ortho(&ar->v2d);
/* View2D matrix might have changed due to dynamic sized regions. */
UI_blocklist_update_window_matrix(C, &ar->uiblocks);