ISSUE-054 - Have static timing display mostly figured out.
Some subtle scaling was necessary to accomplish the proper spacing.
This commit is contained in:
1 parent
22ebab1101
commit
7507868dce
8 files changed
+134
-45
No files matched your search
Vendored
+2
-2
@@ -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;
|
||||
|
||||
Vendored
+6
@@ -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;
|
||||
Reference in new issue
Block a user