another minor fix

This commit is contained in:
dorian 2019-09-09 12:19:24 +02:00
parent 404f42c2d2
commit 259ce8fd4b

View file

@ -207,6 +207,7 @@ DataListView {
}
Rectangle {
id: partDelBackgroundRect
anchors.fill: parent
width: partDel.width
@ -353,6 +354,9 @@ DataListView {
var context = getContext("2d");
// clear all remainings from other routes
context.clearRect(0, 0, width, height);
context.beginPath();
context.moveTo(0 + offsetX + radius, 0 + offsetY);
@ -378,8 +382,12 @@ DataListView {
if(resultData[0] !== -1) {
// if there is a result available -> draw background
context.fillStyle = "#b7b7b7";
context.fill();
}
else {
context.fillStyle = "transparent";
}
context.fill();
// outline
context.lineWidth = 1;