[gnome-maps/wip/mlundblad/tourist-train-icon: 2/2] transitPlan: Use tourist train icon




commit 247aed10446ef355c75ebd0163ff2823a95c2c0e
Author: Marcus Lundblad <ml dfupdate se>
Date:   Tue Jun 21 22:47:28 2022 +0200

    transitPlan: Use tourist train icon
    
    Use the tourist train icon for the
    HVT type TOURIST_RAILWAY_SERVICE.

 src/transitPlan.js | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/transitPlan.js b/src/transitPlan.js
index 14d5c7de..ee989665 100644
--- a/src/transitPlan.js
+++ b/src/transitPlan.js
@@ -606,6 +606,8 @@ export class Leg {
                 /* special case HVT codes */
                 case HVT.CABLE_CAR:
                     return 'route-transit-cablecar-symbolic';
+                case HVT.TOURIST_RAILWAY_SERVICE:
+                    return 'route-transit-tourist-train-symbolic';
                 default:
                     let hvtSupertype = HVT.supertypeOf(type);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]