[PR #74] [MERGED] Add race playback controls with UI buttons #120

Closed
opened 2026-05-07 00:18:46 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/IAmTomShaw/f1-race-replay/pull/74
Author: @viralcodex
Created: 12/18/2025
Status: Merged
Merged: 12/18/2025
Merged by: @IAmTomShaw

Base: mainHead: race_controls_ui


📝 Commits (8)

  • b43f719 Add race playback controls with UI buttons
  • 27682c9 Add keyboard to screen feedback to race controls UI
  • 7cbdc4d Merge branch 'main' into race_controls_ui
  • 49a2db0 Update speed control images and remove old icon
  • 950bed1 Merge branch 'race_controls_ui' of https://github.com/viralcodex/f1-race-replay into race_controls_ui
  • 2b6f5e8 Disable race controls after lap completion
  • 711292b Merge remote-tracking branch 'upstream/main' into race_controls_ui
  • ecaeb1a Ensure frame_index is always an integer

📊 Changes

8 files changed (+359 additions, -20 deletions)

View changed files

images/controls/pause.png (+0 -0)
images/controls/play.png (+0 -0)
images/controls/rewind.png (+0 -0)
images/controls/speed+.png (+0 -0)
images/controls/speed-.png (+0 -0)
📝 src/interfaces/qualifying.py (+67 -10)
📝 src/interfaces/race_replay.py (+31 -3)
📝 src/ui_components.py (+261 -7)

📄 Description

Introduced RaceControlsComponent to provide playback controls (play/pause, rewind, forward, speed adjustment) with new button images and integrated it into the F1RaceReplayWindow.

Buttons: Play/Pause, Rewind, Forward, and speed control buttons (2x+ and 2x-)

I have also separated the tooltip from RaceProgressBar to make sure the tooltips are coming over all the other components instead of getting covered by other components.


🔄 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/74 **Author:** [@viralcodex](https://github.com/viralcodex) **Created:** 12/18/2025 **Status:** ✅ Merged **Merged:** 12/18/2025 **Merged by:** [@IAmTomShaw](https://github.com/IAmTomShaw) **Base:** `main` ← **Head:** `race_controls_ui` --- ### 📝 Commits (8) - [`b43f719`](https://github.com/IAmTomShaw/f1-race-replay/commit/b43f71924901334637ae9a8ad8e3ca1495f0175a) Add race playback controls with UI buttons - [`27682c9`](https://github.com/IAmTomShaw/f1-race-replay/commit/27682c9475840755945c52a30d538e24d186c213) Add keyboard to screen feedback to race controls UI - [`7cbdc4d`](https://github.com/IAmTomShaw/f1-race-replay/commit/7cbdc4de8aa4e49225c7ffcfde9d9c3972030a16) Merge branch 'main' into race_controls_ui - [`49a2db0`](https://github.com/IAmTomShaw/f1-race-replay/commit/49a2db0d38fd3f255ffde56d6661da641ffa1c0c) Update speed control images and remove old icon - [`950bed1`](https://github.com/IAmTomShaw/f1-race-replay/commit/950bed1289b678c697d5422a0af9446282585734) Merge branch 'race_controls_ui' of https://github.com/viralcodex/f1-race-replay into race_controls_ui - [`2b6f5e8`](https://github.com/IAmTomShaw/f1-race-replay/commit/2b6f5e8202dd3bb0979d909492b5686612ed3cad) Disable race controls after lap completion - [`711292b`](https://github.com/IAmTomShaw/f1-race-replay/commit/711292bdbef6f5b201ec756b936d26a832dc0a71) Merge remote-tracking branch 'upstream/main' into race_controls_ui - [`ecaeb1a`](https://github.com/IAmTomShaw/f1-race-replay/commit/ecaeb1a342d3878351d086ddd8904ce5bbf7ce8c) Ensure frame_index is always an integer ### 📊 Changes **8 files changed** (+359 additions, -20 deletions) <details> <summary>View changed files</summary> ➕ `images/controls/pause.png` (+0 -0) ➕ `images/controls/play.png` (+0 -0) ➕ `images/controls/rewind.png` (+0 -0) ➕ `images/controls/speed+.png` (+0 -0) ➕ `images/controls/speed-.png` (+0 -0) 📝 `src/interfaces/qualifying.py` (+67 -10) 📝 `src/interfaces/race_replay.py` (+31 -3) 📝 `src/ui_components.py` (+261 -7) </details> ### 📄 Description Introduced RaceControlsComponent to provide playback controls (play/pause, rewind, forward, speed adjustment) with new button images and integrated it into the F1RaceReplayWindow. Buttons: Play/Pause, Rewind, Forward, and speed control buttons (2x+ and 2x-) I have also separated the tooltip from RaceProgressBar to make sure the tooltips are coming over all the other components instead of getting covered by other components. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 00:18:46 +02:00
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#120
No description provided.