Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Train name isn't aligned with subpieces of its path #468

Closed
Castavo opened this issue Sep 12, 2024 · 4 comments · Fixed by #838
Closed

Train name isn't aligned with subpieces of its path #468

Castavo opened this issue Sep 12, 2024 · 4 comments · Fixed by #838

Comments

@Castavo
Copy link

Castavo commented Sep 12, 2024

What happened?

image
The train name isn't centered on the path that's visible. If there were some pieces of another train next to this one, one wouldn't be able to tell them apart

What did you expect to happen?

I expect the name to not be completely out of the piece of path. For example, centered on the piece if it's too small

How can we reproduce it (as minimally and precisely as possible)?

  1. View a time table with many trains, some partially projected on the current path

On which environments the bug occurs?

No response

On which browser the bug occurs?

Firefox

@maelysLeratRosso
Copy link

@Castavo I tried to test it so now I have this, is it what you expected?

Image

@Synar
Copy link
Contributor

Synar commented Jan 23, 2025

@Castavo I tried to test it so now I have this, is it what you expected?

Image

I believe the change is not yet live due to osrd-ui needing a new release

@maelysLeratRosso
Copy link

ooooh ok, thanks !

@Synar
Copy link
Contributor

Synar commented Jan 23, 2025

ooooh ok, thanks !

osrd-ui just got a new release, so it should be live on the storybook (but not yet on osrd itself)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants