Skip to content

Commit a0a421d

Browse files
committed
fix: raise time for detach live segment
1 parent 14b5d55 commit a0a421d

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

packages/webui/src/client/lib/viewPort.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@ async function innerScrollToSegment(
248248
bottom = Math.floor(bottom)
249249
if (bottom > Math.floor(window.innerHeight) || top < headerHeight) {
250250
// If not in place atempt to scroll again
251-
console.log('A Second attempt to scroll is needed')
252251
innerScrollToSegment(elementToScrollTo, forceScroll, true, true).then(resolve, reject)
253252
} else {
254253
resolve(true)

packages/webui/src/client/ui/RundownView/RundownRightHandControls.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ export function RundownRightHandControls(props: Readonly<IProps>): JSX.Element {
8686
} = props
8787

8888
useEffect(() => {
89-
console.log('onAirHover - props.isFollowingOnAir state', props.isFollowingOnAir)
9089
if (onAirHover && props.isFollowingOnAir) {
9190
setOnAirHover(false)
9291
}

packages/webui/src/client/ui/SegmentTimeline/SegmentTimelineContainer.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ const SegmentTimelineContainerContent = withResolvedSegment(
200200
window.requestAnimationFrame(() => {
201201
this.mountedTime = Date.now()
202202
if (this.state.isLiveSegment && this.props.followLiveSegments && !this.isVisible) {
203-
console.log('SegmentTimelinecontainer is not visible')
204203
scrollToSegment(this.props.segmentId, true).catch((error) => {
205204
if (!error.toString().match(/another scroll/)) console.warn(error)
206205
})
@@ -552,7 +551,7 @@ const SegmentTimelineContainerContent = withResolvedSegment(
552551
} else {
553552
this.isVisible = true
554553
}
555-
}, 1200)
554+
}, 1800)
556555
}
557556

558557
startLive = () => {

0 commit comments

Comments
 (0)