diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2013-11-15 18:08:55 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-18 12:44:07 +0000 |
commit | c10abc74d85ea1c4c3facf27c890cd21647dc393 (patch) | |
tree | 44aea147c0a065ef96a3f34a8a4498c7e3059f20 /scripts/pybootchartgui | |
parent | 94caf6f6e57a2c77097bb0661bcc05614658cf34 (diff) | |
download | poky-c10abc74d85ea1c4c3facf27c890cd21647dc393.tar.gz |
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>
Diffstat (limited to 'scripts/pybootchartgui')
-rw-r--r-- | scripts/pybootchartgui/pybootchartgui/draw.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pybootchartgui/pybootchartgui/draw.py b/scripts/pybootchartgui/pybootchartgui/draw.py index b1ad6e6627..6b15d64a6b 100644 --- a/scripts/pybootchartgui/pybootchartgui/draw.py +++ b/scripts/pybootchartgui/pybootchartgui/draw.py | |||
@@ -432,9 +432,9 @@ def render_processes_chart(ctx, options, trace, curr_y, w, h, sec_w): | |||
432 | elif task == "do_populate_sysroot": | 432 | elif task == "do_populate_sysroot": |
433 | col = TASK_COLOR_SYSROOT | 433 | col = TASK_COLOR_SYSROOT |
434 | 434 | ||
435 | draw_rect(ctx, PROC_BORDER_COLOR, (x, y, w, proc_h)) | ||
436 | if col: | 435 | if col: |
437 | draw_fill_rect(ctx, col, (x, y, w, proc_h)) | 436 | draw_fill_rect(ctx, col, (x, y, w, proc_h)) |
437 | draw_rect(ctx, PROC_BORDER_COLOR, (x, y, w, proc_h)) | ||
438 | 438 | ||
439 | draw_label_in_box(ctx, PROC_TEXT_COLOR, val, x, y + proc_h - 4, w, proc_h) | 439 | draw_label_in_box(ctx, PROC_TEXT_COLOR, val, x, y + proc_h - 4, w, proc_h) |
440 | y = y + proc_h | 440 | y = y + proc_h |