a-b-street / a-b-street/abstreet

Turn restriction display/editing fails when two roads meet at both ends

Ouverte
#1,108 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
ltn
Langage dominant
Rust
Étoiles
8.2k
Forks
380
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

(This will be true if https://github.com/a-b-street/abstreet/pull/1091 is merged.)

How to reproduce
=========
1. Locate a small crescent road which meets the same main road at each end, and there are no other intermediate intersections.
1. Open this location in the LTN tool
1. Attempt to add/edit turn restrictions at both ends of the road.

Expected results
=========

The icons for the new/edited turn restrictions should show at the end of the road where it was edited.

Actual results
=========

The icons for the new/edited turn restrictions will always show at the same end of the road, irrespective of which end of the road was clicked on during editing.

https://github.com/a-b-street/abstreet/assets/5346065/a5821298-da22-4ff2-92a4-e957589bf196

See video:
* The first edit (western end of Queens Court) the turn restriction sign appears where expected
* The second edit (the eastern end of Queens Court) the turn restriction still appears at the western end, despite the edit occurring at the eastern end.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.