From 691a76e2efd437295fe63157f07840ea38be391b Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Mon, 8 Nov 2021 11:14:59 -0500
Subject: fixed macbook horizontal scrolling of zoomed timeline.

---
 src/client/views/collections/CollectionStackedTimeline.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/client/views/collections/CollectionStackedTimeline.tsx')

diff --git a/src/client/views/collections/CollectionStackedTimeline.tsx b/src/client/views/collections/CollectionStackedTimeline.tsx
index f5c3676e8..d689d7970 100644
--- a/src/client/views/collections/CollectionStackedTimeline.tsx
+++ b/src/client/views/collections/CollectionStackedTimeline.tsx
@@ -604,8 +604,9 @@ export class CollectionStackedTimeline extends CollectionSubView<
         return (<div ref={this.createDashEventsTarget} style={{ pointerEvents: SnappingManager.GetIsDragging() ? "all" : undefined }}>
             <div className="timeline-container"
                 style={{ width: this.props.PanelWidth() }}
+                onWheel={e => e.stopPropagation()}
                 onScroll={this.setScroll}
-                ref={(wrapper: HTMLDivElement | null) => (this._timelineWrapper = wrapper)}>
+                ref={wrapper => this._timelineWrapper = wrapper}>
                 <div
                     className="collectionStackedTimeline"
                     ref={(timeline: HTMLDivElement | null) => (this._timeline = timeline)}
-- 
cgit v1.2.3-70-g09d2

