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:
parent
3f91e7d779
commit
fe3a9fcce1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue