Commit db6bf5be authored by Christiaan Janssen's avatar Christiaan Janssen Committed by Aurindam Jana
Browse files

QmlProfiler: fixed artifacts when rendering background

Change-Id: I7707657b6788316a82ca9b3df33bf00e3692d75e
Reviewed-on: http://codereview.qt.nokia.com/1360

Reviewed-by: default avatarAurindam Jana <aurindam.jana@nokia.com>
parent df1f5adb
......@@ -103,7 +103,7 @@ TiledCanvas {
}
function drawBackgroundBars( ctxt, region ) {
var barHeight = labels.height / labels.rowCount;
var barHeight = Math.round(labels.height / labels.rowCount);
var originY = labels.y
for (var i=0; i<labels.rowCount; i++) {
ctxt.fillStyle = i%2 ? "#f3f3f3" : "white"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment