This commit is contained in:
Your Name
2024-05-04 02:41:59 -05:00
parent 88a874dda7
commit 6191a455dd
2 changed files with 7 additions and 6 deletions

View File

@@ -905,7 +905,8 @@ void AnnotatedCameraWidget::drawLaneLines(QPainter &painter, const UIState *s) {
// Use current background color
QLinearGradient edge_gradient;
// QColor test_color = QColor(201, 41, 204, 0xd1);
QColor test_color = bg;
QColor test_color;
test_color = bg;
// edge_gradient.setColorAt(0.0, QColor(test_color.red(), test_color.green(), test_color.blue(), static_cast<int>(OTHER_LANE_ALPHA * 255)));
// edge_gradient.setColorAt(0.5, QColor(test_color.red(), test_color.green(), test_color.blue(), static_cast<int>(OTHER_LANE_ALPHA * 255 * 0.5)));
// edge_gradient.setColorAt(1.0, QColor(test_color.red(), test_color.green(), test_color.blue(), static_cast<int>(OTHER_LANE_ALPHA * 255 * 0.1)));