ISSUE-032 - Progress checkpoint.
Have a lot of the scaffolding in place. Next step is to make the Chyron controls actually work. Dramatic re-thinking of the chyron state definitions. Lots of goofy type following tricks in broadcastGraphics.ts.
This commit is contained in:
1 parent
8e4ac1243b
commit
5e7940a151
15 files changed
+266
-54
No files matched your search
@@ -1,5 +1,4 @@
|
||||
import { useEffect } from "react";
|
||||
import { useDispatch, useSelector } from "react-redux";
|
||||
import { useSelector } from "react-redux";
|
||||
|
||||
import { workspaceSelector } from "../../../features/workspace/workspaceSelector";
|
||||
|
||||
@@ -9,15 +8,6 @@ import { BasicBlock } from "./styles";
|
||||
|
||||
export function AngledFlagWorkSpace() {
|
||||
const { prototypeState } = useSelector(workspaceSelector);
|
||||
// const dispatch = useDispatch();
|
||||
// useEffect(() => {
|
||||
// dispatch(setPrototypeState({
|
||||
// angledFlag: {
|
||||
// flagA: "GBR",
|
||||
// flagB: "GBR",
|
||||
// },
|
||||
// }));
|
||||
// }, [currentWorkspaceId]);
|
||||
|
||||
return (
|
||||
<BasicBlock width={750} height={450} color="rgba(30, 30, 30, .7)">
|
||||
|
||||
+10
-4
@@ -1,15 +1,21 @@
|
||||
import { Grid } from "@bedrock-layout/grid";
|
||||
import { PadBox } from "@bedrock-layout/padbox";
|
||||
import { Split } from "@bedrock-layout/split";
|
||||
import { ChyronsDirectorControls } from "../../../Broadcast/BroadcastDirectorUI/Chyrons";
|
||||
|
||||
import { GridSelection } from "../GridSelection";
|
||||
import { ChyronControlsContainer } from "./styles";
|
||||
|
||||
export function ChyronPrototypeControls() {
|
||||
return (
|
||||
<Grid gutter="md">
|
||||
<Split gutter="md">
|
||||
<PadBox padding="md">
|
||||
<ChyronControlsContainer>
|
||||
<ChyronsDirectorControls />
|
||||
</ChyronControlsContainer>
|
||||
</PadBox>
|
||||
<PadBox padding="md">
|
||||
<GridSelection />
|
||||
</PadBox>
|
||||
<span>Launcher/Closer</span>
|
||||
</Grid>
|
||||
</Split>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import styled from "styled-components";
|
||||
|
||||
export const ChyronControlsContainer = styled.div`
|
||||
width: 420px;
|
||||
height: auto;
|
||||
`;
|
||||
ChyronControlsContainer.displayName = "ChyronControlsContainer";
|
||||
Reference in new issue
Block a user