Aktualizacja listy scenerii. Poprawki w wyświetlaniu rozkładów jazdy.

This commit is contained in:
2020-11-15 13:58:53 +01:00
parent f25e72d961
commit acc27bc1fd
4 changed files with 129 additions and 118 deletions
+8
View File
@@ -396,6 +396,9 @@ export default class SceneryView extends styleMixin {
return (
scheduledTrains?.sort((a, b) => {
if (a.stopStatusID > b.stopStatusID) return 1;
else if (a.stopStatusID < b.stopStatusID) return -1;
if (a.stopInfo.arrivalTimestamp > b.stopInfo.arrivalTimestamp) return 1;
else if (a.stopInfo.arrivalTimestamp < b.stopInfo.arrivalTimestamp)
return -1;
@@ -815,6 +818,11 @@ h3 {
span.departed {
color: lime;
font-weight: bold;
&-away {
font-weight: bold;
color: rgb(0, 155, 0);
}
}
span.stopped {