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 3838 "@fortawesome/fontawesome-svg-core" : " ^6.7.2" ,
3939 "@fortawesome/free-solid-svg-icons" : " ^6.7.2" ,
4040 "@fortawesome/react-fontawesome" : " ^0.2.2" ,
41- "@jstarpl/react-contextmenu" : " ^2.15.0 " ,
41+ "@jstarpl/react-contextmenu" : " ^2.15.1 " ,
4242 "@nrk/core-icons" : " ^9.6.0" ,
4343 "@popperjs/core" : " ^2.11.8" ,
4444 "@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<
290290 componentWillUnmount ( ) : void {
291291 super . componentWillUnmount ?.( )
292292 clearTimeout ( this . highlightTimeout )
293+ if ( this . segmentBlock ) {
294+ this . segmentBlock . removeEventListener ( 'wheel' , this . onTimelineWheel , { capture : true } )
295+ }
293296
294297 RundownViewEventBus . off ( RundownViewEvents . HIGHLIGHT , this . onHighlight )
295298 RundownViewEventBus . off ( RundownViewEvents . SEGMENT_ZOOM_ON , this . onRundownEventSegmentZoomOn )
You can’t perform that action at this time.
0 commit comments