diff options
author | bobzel <zzzman@gmail.com> | 2021-11-08 11:14:59 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-11-08 11:14:59 -0500 |
commit | 691a76e2efd437295fe63157f07840ea38be391b (patch) | |
tree | e755e742be1910c50f21125d330e6a58e23adffb /src | |
parent | 1f94d6b33f81b1b2e6140f58f4de749eb4e74478 (diff) |
fixed macbook horizontal scrolling of zoomed timeline.
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/CollectionStackedTimeline.tsx | 3 |
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)} |