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

speedspacechart: fix blinking in speed limit tags by importing images only once #696

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

Synar
Copy link
Contributor

@Synar Synar commented Nov 8, 2024

Fix #427

Last PR #633 approached the issue by reducing how often the layer was redrawn. As a result, blinking was a lot less frequent, but each redrawing still caused blinking.

Instead here we reduce the time it takes to draw the canvas, by removing the (async) image fetching from the drawing logic, and fetching them only once.

@Synar Synar requested a review from a team as a code owner November 8, 2024 18:15
@Synar Synar force-pushed the ali/fix-blinking-ui-speedspacechart-again branch from 6bec4f1 to 47a4e00 Compare November 8, 2024 18:16
@Synar Synar force-pushed the ali/fix-blinking-ui-speedspacechart-again branch from 47a4e00 to 6f28907 Compare November 8, 2024 18:54
Copy link
Member

@emersion emersion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@Synar Synar force-pushed the ali/fix-blinking-ui-speedspacechart-again branch from 8adcd61 to 54b086f Compare November 22, 2024 19:12
@Synar Synar requested a review from Caracol3 November 26, 2024 16:04
@Synar Synar added this pull request to the merge queue Nov 27, 2024
Merged via the queue into dev with commit fd5c26c Nov 27, 2024
6 checks passed
@Synar Synar deleted the ali/fix-blinking-ui-speedspacechart-again branch November 27, 2024 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Speed space chart is blinking
2 participants