ISSUE-053 - Placed Chyrons on video feed.
Adjusted the method that placement is determined. It didn't make much sense to define Placement in state, so I've moved it to the central theme object instead. I also took the time to support +10 laps and minutes with a special xScale setting for the TimingTowerRows.
This commit is contained in:
1 parent
b7d1b23dff
commit
58da0e4895
13 files changed
+86
-35
No files matched your search
@@ -1,7 +1,10 @@
|
||||
import { MockupBlock } from "../../Common/MockupBlock.styled";
|
||||
import { PadBox } from "@bedrock-layout/padbox";
|
||||
|
||||
import VideoFeed from "../VideoFeed/VideoFeed";
|
||||
import { MockupBlock } from "../../Common/MockupBlock.styled";
|
||||
import { LayoutGrid, LayoutGridItem } from "../../Common/LayoutGrid.styled";
|
||||
import { TimingTowerPrototypeControls } from "../../Workspaces/PrototypingControls/TimingTowerPrototype";
|
||||
import { ChyronsDirectorControls } from "../BroadcastDirectorUI/Chyrons";
|
||||
|
||||
type LayoutProps = {
|
||||
headerHeight?: number,
|
||||
@@ -17,7 +20,7 @@ export function Layout({ headerHeight }: LayoutProps) {
|
||||
>Timing Board UI</MockupBlock>
|
||||
</LayoutGridItem>
|
||||
|
||||
<LayoutGridItem column={2} row={1} columnSpan={5} rowSpan={7} >
|
||||
<LayoutGridItem column={2} row={1} columnSpan={5} rowSpan={8} >
|
||||
<VideoFeed />
|
||||
</LayoutGridItem>
|
||||
|
||||
@@ -33,8 +36,11 @@ export function Layout({ headerHeight }: LayoutProps) {
|
||||
>Race Director UI</MockupBlock>
|
||||
</LayoutGridItem>
|
||||
|
||||
<LayoutGridItem column={2} row={8} columnSpan={5} rowSpan={3}>
|
||||
<TimingTowerPrototypeControls />
|
||||
<LayoutGridItem column={2} row={9} columnSpan={5} rowSpan={2}>
|
||||
<PadBox padding="lg">
|
||||
<TimingTowerPrototypeControls />
|
||||
<ChyronsDirectorControls />
|
||||
</PadBox>
|
||||
</LayoutGridItem>
|
||||
</LayoutGrid>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user