File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/client/ui/SegmentTimeline Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 38
38
"@fortawesome/fontawesome-svg-core" : " ^6.7.2" ,
39
39
"@fortawesome/free-solid-svg-icons" : " ^6.7.2" ,
40
40
"@fortawesome/react-fontawesome" : " ^0.2.2" ,
41
- "@jstarpl/react-contextmenu" : " ^2.15.0 " ,
41
+ "@jstarpl/react-contextmenu" : " ^2.15.1 " ,
42
42
"@nrk/core-icons" : " ^9.6.0" ,
43
43
"@popperjs/core" : " ^2.11.8" ,
44
44
"@sofie-automation/blueprints-integration" : " 1.53.0-in-development" ,
Original file line number Diff line number Diff line change @@ -290,6 +290,9 @@ export class SegmentTimelineClass extends React.Component<Translated<WithTiming<
290
290
componentWillUnmount ( ) : void {
291
291
super . componentWillUnmount ?.( )
292
292
clearTimeout ( this . highlightTimeout )
293
+ if ( this . segmentBlock ) {
294
+ this . segmentBlock . removeEventListener ( 'wheel' , this . onTimelineWheel , { capture : true } )
295
+ }
293
296
294
297
RundownViewEventBus . off ( RundownViewEvents . HIGHLIGHT , this . onHighlight )
295
298
RundownViewEventBus . off ( RundownViewEvents . SEGMENT_ZOOM_ON , this . onRundownEventSegmentZoomOn )
You can’t perform that action at this time.
0 commit comments