Skip to content

Commit 05051f2

Browse files
committed
make routes and loc less dark fix #17859
1 parent 5be7bca commit 05051f2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/guisim/GUIBaseVehicle.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -677,10 +677,10 @@ GUIBaseVehicle::drawGLAdditional(GUISUMOAbstractView* const parent, const GUIVis
677677
}
678678
bool noLoop = hasActiveAddVisualisation(parent, VO_SHOW_ROUTE_NOLOOP);
679679
if (hasActiveAddVisualisation(parent, VO_SHOW_ROUTE)) {
680-
drawRoute(s, 0, 0.25, false, noLoop);
680+
drawRoute(s, 0, 0.15, false, noLoop);
681681
}
682682
if (hasActiveAddVisualisation(parent, VO_SHOW_FUTURE_ROUTE)) {
683-
drawRoute(s, 0, 0.25, true, noLoop);
683+
drawRoute(s, 0, 0.15, true, noLoop);
684684
}
685685
if (hasActiveAddVisualisation(parent, VO_SHOW_ALL_ROUTES)) {
686686
if (myVehicle.getNumberReroutes() > 0) {
@@ -690,7 +690,7 @@ GUIBaseVehicle::drawGLAdditional(GUISUMOAbstractView* const parent, const GUIVis
690690
drawRoute(s, i, darken);
691691
}
692692
} else {
693-
drawRoute(s, 0, 0.25, false, noLoop);
693+
drawRoute(s, 0, 0.15, false, noLoop);
694694
}
695695
}
696696
if (hasActiveAddVisualisation(parent, VO_SHOW_LFLINKITEMS)) {

src/guisim/GUIVehicle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ GUIVehicle::drawAction_drawLinkItems(const GUIVisualizationSettings& s) const {
326326
void
327327
GUIVehicle::drawAction_drawCarriageClass(const GUIVisualizationSettings& s, double scaledLength, bool asImage) const {
328328
RGBColor current = GLHelper::getColor();
329-
RGBColor darker = current.changedBrightness(-51);
329+
RGBColor darker = current.changedBrightness(-20);
330330
const double exaggeration = (s.vehicleSize.getExaggeration(s, this)
331331
* s.vehicleScaler.getScheme().getColor(getScaleValue(s, s.vehicleScaler.getActive())));
332332
if (exaggeration == 0) {

0 commit comments

Comments
 (0)