mirror of
https://github.com/IAmTomShaw/f1-race-replay.git
synced 2026-05-09 08:25:56 +02:00
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/f1-race-replay#117
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/IAmTomShaw/f1-race-replay/pull/71
Author: @juliarzymowska
Created: 12/17/2025
Status: ✅ Merged
Merged: 12/17/2025
Merged by: @IAmTomShaw
Base:
main← Head:fix-ui-icons📝 Commits (3)
a6efa81add UI icons assetsc64d475fix UI arrow iconsd495ddcMerge branch 'main' into fix-ui-icons📊 Changes
7 files changed (+93 additions, -18 deletions)
View changed files
➕
images/controls/arrow-down.png(+0 -0)➕
images/controls/arrow-left.png(+0 -0)➕
images/controls/arrow-right.png(+0 -0)➕
images/controls/arrow-up.png(+0 -0)📝
src/interfaces/qualifying.py(+44 -10)📝
src/interfaces/race_replay.py(+40 -8)📝
src/ui_components.py(+9 -0)📄 Description
Description
This PR is a follow-up to the previous icon rendering fix (#43).
After updating the weather icons, I noticed that the control/navigation icons were affected by the same issue:
text-based icons were not rendering correctly in my environment.
Solution
This PR replaces the text-based control/navigation icons with PNG icons, using the same approach as in the previous fix.
Before:

After:

Changes
Question
While working on the control icons, I noticed that the controls legend is currently rendered directly inside
qualifying.pyandrace_replay.py, even though aLegendComponentalready exists inui_components.py.At the moment, both view files duplicate the legend drawing logic, instead of delegating rendering to the component itself.
Would you prefer:
LegendComponent.draw(...)and passing layout parameters(e.g. margins / position) from the view?
I wasn’t sure if the legend placement depends too much on window size or view-specific margins
(e.g.
left_ui_margin) to safely centralize this logic, so I kept the current structure for now.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.