ISSUE-032 - Defined a great number of new state types for use with the race event's state, the broadcast director's controls, and the broadcast graphics states.

Taking a second to make a commit to save my progress so far.
This commit is contained in:
Kyle Geib committed 2022-01-27 13:39:52 -05:00
1 parent ef0b58e98b
commit 5d009a3d70
12 files changed
+254 -21

No files matched your search

+5 -5
View File
@@ -29,7 +29,7 @@ export const workspaces: WorkspaceObject = {
],
previewWindowDimensions: {
width: 750,
height: 200,
height: 300,
},
},
angledFlag: {
@@ -44,11 +44,11 @@ export const workspaces: WorkspaceObject = {
},
};
export function fetchBroadcastGraphic(workspaceId: WorkspaceId): ReactNode {
export function fetchBroadcastGraphic(workspaceId: WorkspaceId): [ReactNode, ReactNode] {
switch(workspaceId) {
case "chyronDriver": return ChyronDriver();
case "angledFlag": return AngledFlagWorkSpace();
default: return null;
case "chyronDriver": return [ChyronDriver(), null];
case "angledFlag": return [AngledFlagWorkSpace(), null];
default: return [null, null];
}
}