ISSUE-054 - Have static timing display mostly figured out.

Some subtle scaling was necessary to accomplish the proper spacing.
This commit is contained in:
Kyle Geib committed 2022-02-16 17:20:08 -05:00
1 parent 22ebab1101
commit 7507868dce
8 files changed
+134 -45

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
import { Milliseconds, Optional } from "./util";
import { Meters, Milliseconds, Optional } from "./util";
import { Corner, Fraction } from "./style";
export interface RootState {
@@ -113,7 +113,7 @@ export interface Car {
status: CarStatus;
// flags: ???, // blue, red, meatball, black/white, black
// notices: ???; // Penalties, warnings, investigations, blue flags, etc
// distance: number;
distance: Meters;
}
export interface Driver {
id: DriverId;
+6
View File
@@ -9,3 +9,9 @@ export type Milliseconds = number;
* Type to remind you that we're dealing with seconds.
*/
export type Seconds = number;
/**
* Type to remind you that we're dealing with meters.
*/
export type Meters = number;