mirror of
https://github.com/IAmTomShaw/f1-race-replay.git
synced 2026-05-09 16:35:49 +02:00
[PR #30] Limit playback speed controls to valid presets (0.5x-4.0x) #87
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#87
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/30
Author: @mayank1365
Created: 12/10/2025
Status: 🔄 Open
Base:
main← Head:main📝 Commits (1)
735b1cafix:Limit playback speed adjustments to prevent excessive values📊 Changes
1 file changed (+4 additions, -2 deletions)
View changed files
📝
src/interfaces/race_replay.py(+4 -2)📄 Description
Description
Fixed an issue where the up/down arrow key speed controls had no upper or lower bounds, allowing users to increase or decrease playback speed to any power of 2 indefinitely.
Changes
Up arrow now only increases speed when below 4.0x (maximum)
Down arrow now only decreases speed when above 0.5x (minimum)
Valid Speed Presets
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.