[PR #73] More visual and intuitive driver selection for racetrack #118

Open
opened 2026-05-07 00:18:45 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/IAmTomShaw/f1-race-replay/pull/73
Author: @pmarconep
Created: 12/18/2025
Status: 🔄 Open

Base: mainHead: main


📝 Commits (3)

  • 6e4919d racetrack highlight when selected
  • bc2c8e7 Added background color for better visualization of track tag
  • 50df982 select driver from ractrack click

📊 Changes

1 file changed (+42 additions, -3 deletions)

View changed files

📝 src/interfaces/race_replay.py (+42 -3)

📄 Description

Two features added:

Selection from track click

When the click is less than 20 pixels of distance from the closest driver, that driver is selected. If it is more than that, any driver is unselected.

Driver name tag

When a driver is selected, his name tag is drawn over its point for easy visualization

image

https://github.com/user-attachments/assets/1a0b35e0-01a0-4e3c-8d7f-56a9ae03160c


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/IAmTomShaw/f1-race-replay/pull/73 **Author:** [@pmarconep](https://github.com/pmarconep) **Created:** 12/18/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`6e4919d`](https://github.com/IAmTomShaw/f1-race-replay/commit/6e4919df2323af99826971aeb09627eb77c1126e) racetrack highlight when selected - [`bc2c8e7`](https://github.com/IAmTomShaw/f1-race-replay/commit/bc2c8e72c89ca336b58c009237e32dd1ef05ca61) Added background color for better visualization of track tag - [`50df982`](https://github.com/IAmTomShaw/f1-race-replay/commit/50df9826937b424e4c8b8830d7e99f19f7d4d268) select driver from ractrack click ### 📊 Changes **1 file changed** (+42 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/interfaces/race_replay.py` (+42 -3) </details> ### 📄 Description Two features added: ## Selection from track click When the click is less than 20 pixels of distance from the closest driver, that driver is selected. If it is more than that, any driver is unselected. ## Driver name tag When a driver is selected, his name tag is drawn over its point for easy visualization <img width="533" height="402" alt="image" src="https://github.com/user-attachments/assets/5ef96b2e-becb-4523-9391-7edfee4f9690" /> https://github.com/user-attachments/assets/1a0b35e0-01a0-4e3c-8d7f-56a9ae03160c --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/f1-race-replay#118
No description provided.