Skip to content

Commit

Permalink
Remove driver tracker display
Browse files Browse the repository at this point in the history
  • Loading branch information
JustAman62 committed Sep 15, 2024
1 parent bcf44d8 commit 0048112
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 176 deletions.
145 changes: 0 additions & 145 deletions OpenF1.Console/Display/DriverTrackerDisplay.cs

This file was deleted.

28 changes: 0 additions & 28 deletions OpenF1.Console/Input/SelectDriverInputHandler.cs

This file was deleted.

3 changes: 1 addition & 2 deletions OpenF1.Console/Input/SwitchPageInputHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class SwitchPageInputHandler(LapCountProcessor lapCountProcessor, State s
public bool IsEnabled => true;

public Screen[] ApplicableScreens =>
[Screen.RaceControl, Screen.DriverTracker, Screen.TeamRadio, Screen.TimingTower, Screen.TimingHistory, Screen.ChampionshipStats];
[Screen.RaceControl, Screen.TeamRadio, Screen.TimingTower, Screen.TimingHistory, Screen.ChampionshipStats];

public ConsoleKey[] Keys => [ConsoleKey.LeftArrow, ConsoleKey.RightArrow];

Expand All @@ -33,7 +33,6 @@ public Task ExecuteAsync(ConsoleKeyInfo consoleKeyInfo)
break;
case Screen.TimingTower:
case Screen.RaceControl:
case Screen.DriverTracker:
case Screen.ChampionshipStats:
case Screen.TeamRadio:
state.CursorOffset = 0;
Expand Down
1 change: 0 additions & 1 deletion OpenF1.Console/Screen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ public enum Screen {
TimingTower,
TimingHistory,
RaceControl,
DriverTracker,
ChampionshipStats,
TeamRadio
}

0 comments on commit 0048112

Please sign in to comment.