ISSUE-045 - Chyron Body - Timing improvements. More comments. Small corrections.
This commit is contained in:
1 parent
e6312f67e0
commit
bab056394c
4 files changed
+21
-12
No files matched your search
@@ -219,16 +219,16 @@ export function ChyronDriver({
|
||||
>
|
||||
<VenetianBlindsTransition
|
||||
visible={openState !== 0}
|
||||
delay={2000 * DDM}
|
||||
delay={1700 * DDM}
|
||||
blindsColor={teamColor}
|
||||
blindsColorFadeDuration={600 * DDM}
|
||||
blindsColorFadeDelay={300 * DDM}
|
||||
blindsColorFadeDelay={0 * DDM}
|
||||
blindsAngle={-45}
|
||||
blindsOpenDuration={300 * DDM}
|
||||
blindsOpenDelay={300 * DDM}
|
||||
blindsOpenDelay={0 * DDM}
|
||||
blindsSize={{ transparent: 2, opaque: 5 }}
|
||||
wipeAngle={45}
|
||||
wipeDuration={0 * DDM}
|
||||
wipeDuration={700 * DDM}
|
||||
wipeStartingCorner="bottomRight"
|
||||
>
|
||||
<DriverPortrait
|
||||
|
||||
@@ -16,13 +16,11 @@ type AnimatedBaseContainerProps = {
|
||||
width: Px,
|
||||
height: Px,
|
||||
};
|
||||
export const AnimatedBaseContainer = animated(
|
||||
styled.div<AnimatedBaseContainerProps>`
|
||||
position: relative;
|
||||
width: ${({ width }) => `${width}px`};
|
||||
height: ${({ height }) => `${height}px`};
|
||||
`,
|
||||
);
|
||||
export const AnimatedBaseContainer = animated(styled.div<AnimatedBaseContainerProps>`
|
||||
position: relative;
|
||||
width: ${({ width }) => `${width}px`};
|
||||
height: ${({ height }) => `${height}px`};
|
||||
`);
|
||||
AnimatedBaseContainer.displayName = "AnimatedBaseContainer";
|
||||
|
||||
const BaseShape = styled.div`
|
||||
@@ -87,6 +85,7 @@ export const BaseLayout = styled(BaseShape)<TransitionProps>`
|
||||
|
||||
${({ transitionProps }) => commonTransition(transitionProps)}
|
||||
`;
|
||||
BaseLayout.displayName = "BaseLayout";
|
||||
|
||||
type TeamColorBarProps = {
|
||||
color: string,
|
||||
|
||||
Reference in new issue
Block a user