File tree Expand file tree Collapse file tree 1 file changed +16
-13
lines changed
packages/webui/src/client/ui/RundownView Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ export function RundownRightHandControls(props: Readonly<IProps>): JSX.Element {
8686 } = props
8787
8888 useEffect ( ( ) => {
89+ console . log ( 'onAirHover - props.isFollowingOnAir state' , props . isFollowingOnAir )
8990 if ( onAirHover && props . isFollowingOnAir ) {
9091 setOnAirHover ( false )
9192 }
@@ -168,19 +169,21 @@ export function RundownRightHandControls(props: Readonly<IProps>): JSX.Element {
168169 >
169170 < RewindAllSegmentsIcon />
170171 </ button >
171- { ! props . isFollowingOnAir && (
172- < button
173- className = "status-bar__controls__button"
174- role = "button"
175- onMouseEnter = { onOnAirMouseEnter }
176- onMouseLeave = { onOnAirMouseLeave }
177- onClick = { onOnAirClick }
178- tabIndex = { 0 }
179- aria-label = { t ( 'Go to On Air Segment' ) }
180- >
181- { onAirHover ? < Lottie config = { ONAIR_OVER } /> : < Lottie config = { ONAIR_OUT } /> }
182- </ button >
183- ) }
172+ < div >
173+ { ! props . isFollowingOnAir && (
174+ < button
175+ className = "status-bar__controls__button"
176+ role = "button"
177+ onMouseEnter = { onOnAirMouseEnter }
178+ onMouseLeave = { onOnAirMouseLeave }
179+ onClick = { onOnAirClick }
180+ tabIndex = { 0 }
181+ aria-label = { t ( 'Go to On Air Segment' ) }
182+ >
183+ { onAirHover ? < Lottie config = { ONAIR_OVER } /> : < Lottie config = { ONAIR_OUT } /> }
184+ </ button >
185+ ) }
186+ </ div >
184187 </ VelocityReact . VelocityTransitionGroup >
185188 < VelocityReact . VelocityTransitionGroup
186189 enter = { { animation : 'fadeIn' , easing : 'ease-out' , duration : 250 } }
You can’t perform that action at this time.
0 commit comments