1
1

Fix: VSE channels area has no background

Draw area background even when there is no sequencer data.
This commit is contained in:
2022-04-21 23:29:21 +02:00
parent 74b9c351b9
commit ce95856f2d

View File

@@ -347,6 +347,8 @@ void channel_draw_context_init(const bContext *C,
void draw_channels(const bContext *C, ARegion *region)
{
draw_background();
Editing *ed = SEQ_editing_get(CTX_data_scene(C));
if (ed == NULL) {
return;
@@ -357,7 +359,6 @@ void draw_channels(const bContext *C, ARegion *region)
UI_view2d_view_ortho(context.v2d);
draw_background();
draw_channel_headers(&context);
UI_view2d_view_restore(C);