-
Notifications
You must be signed in to change notification settings - Fork 5
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
ui-speedspacechart: fix speedlimittags layer blinking #633
Conversation
Close #427 on osrd-ui Therefore fix half of OpenRailAssociation/osrd#8853 on osrd |
ee55088
to
eb498bf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very nice!
a few comments before reviewing deeper
ui-speedspacechart/src/components/helpers/drawElements/speedLimitTags.ts
Outdated
Show resolved
Hide resolved
ui-speedspacechart/src/components/helpers/drawElements/speedLimitTags.ts
Outdated
Show resolved
Hide resolved
ui-speedspacechart/src/components/helpers/drawElements/speedLimitTags.ts
Outdated
Show resolved
Hide resolved
ui-speedspacechart/src/components/helpers/drawElements/speedLimitTags.ts
Outdated
Show resolved
Hide resolved
you're right, it's not your work, that was already present |
ui-speedspacechart/src/components/layers/SpeedLimitTagsLayer.tsx
Outdated
Show resolved
Hide resolved
Next time, if you're feeling up for it, would be easier for reviewers if these two changes were split into separate commits! |
ui-speedspacechart/src/components/helpers/drawElements/speedLimitTags.ts
Outdated
Show resolved
Hide resolved
eb498bf
to
d795829
Compare
ui-speedspacechart/src/components/helpers/drawElements/speedLimitTags.ts
Outdated
Show resolved
Hide resolved
ui-speedspacechart/src/components/helpers/drawElements/speedLimitTags.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm mostly nitpicking at this point. Feel free to discard/ignore comments you disagree with.
Signed-off-by: Alice Khoudli <[email protected]>
d795829
to
ee0a7aa
Compare
Close #427
There were 2 issues I could find leading to the blinking :
There seems to be an overreliance on the store object in the code, but it may take a major refactor to fix it.