another minor fix
This commit is contained in:
parent
404f42c2d2
commit
259ce8fd4b
1 changed files with 9 additions and 1 deletions
|
@ -207,6 +207,7 @@ DataListView {
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
id: partDelBackgroundRect
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
width: partDel.width
|
width: partDel.width
|
||||||
|
@ -353,6 +354,9 @@ DataListView {
|
||||||
|
|
||||||
var context = getContext("2d");
|
var context = getContext("2d");
|
||||||
|
|
||||||
|
// clear all remainings from other routes
|
||||||
|
context.clearRect(0, 0, width, height);
|
||||||
|
|
||||||
context.beginPath();
|
context.beginPath();
|
||||||
|
|
||||||
context.moveTo(0 + offsetX + radius, 0 + offsetY);
|
context.moveTo(0 + offsetX + radius, 0 + offsetY);
|
||||||
|
@ -378,8 +382,12 @@ DataListView {
|
||||||
if(resultData[0] !== -1) {
|
if(resultData[0] !== -1) {
|
||||||
// if there is a result available -> draw background
|
// if there is a result available -> draw background
|
||||||
context.fillStyle = "#b7b7b7";
|
context.fillStyle = "#b7b7b7";
|
||||||
context.fill();
|
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
context.fillStyle = "transparent";
|
||||||
|
}
|
||||||
|
|
||||||
|
context.fill();
|
||||||
|
|
||||||
// outline
|
// outline
|
||||||
context.lineWidth = 1;
|
context.lineWidth = 1;
|
||||||
|
|
Loading…
Reference in a new issue