Color Improvement

This commit is contained in:
Luis Fernando Molina committed 2019-09-07 14:16:04 +02:00
1 parent b801eb222c
commit af1c7d02de
1 file changed
+8 -7
+8 -7
View File
@@ -803,11 +803,11 @@
browserCanvasContext.closePath();
browserCanvasContext.strokeStyle = 'rgba(' + UI_COLOR.GOLDEN_ORANGE + ', 1)';
if (userPositionDate >= percentageBandwidth.begin && userPositionDate <= percentageBandwidth.end) {
browserCanvasContext.strokeStyle = 'rgba(' + UI_COLOR.TITANIUM_YELLOW + ', 1)';
}
browserCanvasContext.strokeStyle = 'rgba(' + UI_COLOR.BLACK + ', 1)';
}
browserCanvasContext.lineWidth = 0.2;
browserCanvasContext.stroke();
@@ -827,7 +827,7 @@
}
if (userPositionDate >= percentageBandwidth.begin && userPositionDate <= percentageBandwidth.end) {
browserCanvasContext.strokeStyle = 'rgba(' + UI_COLOR.TITANIUM_YELLOW + ', 1)';
browserCanvasContext.strokeStyle = 'rgba(' + UI_COLOR.BLACK + ', 1)';
}
browserCanvasContext.lineWidth = 0.2;
@@ -845,9 +845,9 @@
browserCanvasContext.strokeStyle = 'rgba(' + UI_COLOR.GREEN + ', 1)';
if (userPositionDate >= percentageBandwidth.begin && userPositionDate <= percentageBandwidth.end) {
browserCanvasContext.strokeStyle = 'rgba(' + UI_COLOR.TITANIUM_YELLOW + ', 1)';
browserCanvasContext.strokeStyle = 'rgba(' + UI_COLOR.BLACK + ', 1)';
}
browserCanvasContext.setLineDash([1, 4])
browserCanvasContext.lineWidth = 1
browserCanvasContext.stroke()
@@ -903,3 +903,4 @@
}