ISSUE-053 - Small change. Retired cars no longer show position in ChyronDriver.
Stopped having Norris and Perez retired at the start.
This commit is contained in:
1 parent
58da0e4895
commit
c631f0e4ee
2 files changed
+4
-4
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import { useSpring } from "@react-spring/web";
|
||||
import { useDispatch } from "react-redux";
|
||||
|
||||
import { BGChyronDriver, BGChyronSubMode, OpenState } from "../../../../types/state";
|
||||
import { BGChyronDriver, BGChyronSubMode, CarStatus, OpenState } from "../../../../types/state";
|
||||
import { DebugDurationProps } from "../../../../types/style";
|
||||
import { clearChyrons } from "../../../../features/broadcast/graphics/broadcastGraphicsSlice";
|
||||
import { theme } from "../../../../shared/theme";
|
||||
@@ -133,7 +133,7 @@ export function ChyronDriver({
|
||||
teamColor={teamColor}
|
||||
/>
|
||||
<Spacer width="6px" />
|
||||
{showPosFlag && (
|
||||
{showPosFlag && car.status !== CarStatus.Retired && (
|
||||
<VenetianBlindsTransition
|
||||
visible={openState !== 0}
|
||||
delay={500 * DDM}
|
||||
|
||||
@@ -72,7 +72,7 @@ const initialState: RootState["event"] = {
|
||||
},
|
||||
{
|
||||
position: 4,
|
||||
status: CarStatus.Retired,
|
||||
status: CarStatus.Normal,
|
||||
tyre: DEFAULT_TYRE,
|
||||
notices: [],
|
||||
distance: POLE_TO_START - GRID_POSITION_GAP * 3,
|
||||
@@ -88,7 +88,7 @@ const initialState: RootState["event"] = {
|
||||
},
|
||||
{
|
||||
position: 6,
|
||||
status: CarStatus.Retired,
|
||||
status: CarStatus.Normal,
|
||||
tyre: DEFAULT_TYRE,
|
||||
notices: [],
|
||||
distance: POLE_TO_START - GRID_POSITION_GAP * 5,
|
||||
|
||||
Reference in new issue
Block a user