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 {
86
86
} = props
87
87
88
88
useEffect ( ( ) => {
89
+ console . log ( 'onAirHover - props.isFollowingOnAir state' , props . isFollowingOnAir )
89
90
if ( onAirHover && props . isFollowingOnAir ) {
90
91
setOnAirHover ( false )
91
92
}
@@ -168,19 +169,21 @@ export function RundownRightHandControls(props: Readonly<IProps>): JSX.Element {
168
169
>
169
170
< RewindAllSegmentsIcon />
170
171
</ 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 >
184
187
</ VelocityReact . VelocityTransitionGroup >
185
188
< VelocityReact . VelocityTransitionGroup
186
189
enter = { { animation : 'fadeIn' , easing : 'ease-out' , duration : 250 } }
You can’t perform that action at this time.
0 commit comments