Fix incorrect meta strip background color

When viewing meta strip, it had orange color. This was caused by
overflow because of hard-coded offset. Theme got darker, and background
was also set again further in code, but redundant drawing was removed in
f4492629ea.
This commit is contained in:
Richard Antalik 2022-03-10 20:22:02 +01:00
parent 3f91e7d779
commit fe3a9fcce1
1 changed files with 1 additions and 6 deletions

View File

@ -2690,12 +2690,7 @@ void draw_timeline_seq(const bContext *C, ARegion *region)
GPU_depth_test(GPU_DEPTH_NONE);
UI_GetThemeColor3fv(TH_BACK, col);
if (ed && ed->metastack.first) {
GPU_clear_color(col[0], col[1], col[2] - 0.1f, 0.0f);
}
else {
GPU_clear_color(col[0], col[1], col[2], 0.0f);
}
GPU_clear_color(col[0], col[1], col[2], 0.0f);
UI_view2d_view_ortho(v2d);
draw_seq_timeline_channels(v2d);