pybootchartgui: Avoid having overlapping process bars
(From OE-Core rev: 901afb35da814661ed20b2895f1d4055bf73fae2) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
94caf6f6e5
commit
c10abc74d8
|
@ -432,9 +432,9 @@ def render_processes_chart(ctx, options, trace, curr_y, w, h, sec_w):
|
|||
elif task == "do_populate_sysroot":
|
||||
col = TASK_COLOR_SYSROOT
|
||||
|
||||
draw_rect(ctx, PROC_BORDER_COLOR, (x, y, w, proc_h))
|
||||
if col:
|
||||
draw_fill_rect(ctx, col, (x, y, w, proc_h))
|
||||
draw_rect(ctx, PROC_BORDER_COLOR, (x, y, w, proc_h))
|
||||
|
||||
draw_label_in_box(ctx, PROC_TEXT_COLOR, val, x, y + proc_h - 4, w, proc_h)
|
||||
y = y + proc_h
|
||||
|
|
Loading…
Reference in New Issue