ISSUE-054 - Added Team Gems to TimingTower.
Finer calibration to row sizing (not 37px or 36px high, but 36.5px!) and position flag font size.
This commit is contained in:
1 parent
39bddc4cf1
commit
2ad7fdd24c
12 files changed
+202
-21
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import { cloneDeep } from "lodash";
|
||||
import { drivers, teams, teamNumberStyles, teamFlagStyles } from "../domain/data/teams";
|
||||
import { DriverId, TeamId } from "../types/state";
|
||||
import { drivers, teams, teamNumberStyles, teamFlagStyles, teamGemStyles } from "../domain/data/teams";
|
||||
import { DriverId, Team, TeamId } from "../types/state";
|
||||
|
||||
/**
|
||||
* Prefer getting data from teams.ts through these simple getter functions.
|
||||
@@ -29,3 +29,6 @@ export function getTeamNumberStyle(teamId: TeamId) {
|
||||
export function getTeamFlagStyle(teamId: TeamId) {
|
||||
return teamFlagStyles[teamId];
|
||||
}
|
||||
export function getTeamGemStyle(teamId: TeamId) {
|
||||
return teamGemStyles[teamId];
|
||||
}
|
||||
Reference in new issue
Block a user