[oe-commits] Peter Kjellerstedt : pybootchartgui: Avoid having overlapping process bars

git at git.openembedded.org git at git.openembedded.org
Wed Nov 20 11:09:39 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 901afb35da814661ed20b2895f1d4055bf73fae2
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=901afb35da814661ed20b2895f1d4055bf73fae2

Author: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
Date:   Fri Nov 15 18:08:55 2013 +0100

pybootchartgui: Avoid having overlapping process bars

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 scripts/pybootchartgui/pybootchartgui/draw.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/pybootchartgui/pybootchartgui/draw.py b/scripts/pybootchartgui/pybootchartgui/draw.py
index b1ad6e6..6b15d64 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):
                 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



More information about the Openembedded-commits mailing list