From 794b58af1ce0852aea44128cd1f2c6c1d02af0a4 Mon Sep 17 00:00:00 2001 From: Alexander Goryushkin Date: Fri, 22 Mar 2024 18:19:38 -0300 Subject: [PATCH] add new blue segment-color --- src/aframe-streetmix-parsers.js | 6 ++++++ src/assets.js | 1 + 2 files changed, 7 insertions(+) diff --git a/src/aframe-streetmix-parsers.js b/src/aframe-streetmix-parsers.js index 94f2cab1a..b0a1ce7b9 100644 --- a/src/aframe-streetmix-parsers.js +++ b/src/aframe-streetmix-parsers.js @@ -236,6 +236,9 @@ function getBikeLaneMixin (variant) { if (variant === 'red') { return 'surface-red bike-lane'; } + if (variant === 'blue') { + return 'surface-blue bike-lane'; + } if (variant === 'green') { return 'surface-green bike-lane'; } @@ -246,6 +249,9 @@ function getBusLaneMixin (variant) { if (variant === 'colored' | variant === 'red') { return 'surface-red bus-lane'; } + if (variant === 'blue') { + return 'surface-blue bus-lane'; + } if (variant === 'grass') { return 'surface-green bus-lane'; } diff --git a/src/assets.js b/src/assets.js index 4d5a6d534..90e998325 100644 --- a/src/assets.js +++ b/src/assets.js @@ -142,6 +142,7 @@ function buildAssetHTML (assetUrl, categories) { + `, 'lane-separator': `