aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-11-08 11:14:59 -0500
committerbobzel <zzzman@gmail.com>2021-11-08 11:14:59 -0500
commit691a76e2efd437295fe63157f07840ea38be391b (patch)
treee755e742be1910c50f21125d330e6a58e23adffb
parent1f94d6b33f81b1b2e6140f58f4de749eb4e74478 (diff)
fixed macbook horizontal scrolling of zoomed timeline.
-rw-r--r--src/client/views/collections/CollectionStackedTimeline.tsx3
1 files changed, 2 insertions, 1 deletions
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)}