aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/collections')
-rw-r--r--src/client/views/collections/CollectionStackedTimeline.tsx7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionStackedTimeline.tsx b/src/client/views/collections/CollectionStackedTimeline.tsx
index 5bc9b17c7..0a0581f3c 100644
--- a/src/client/views/collections/CollectionStackedTimeline.tsx
+++ b/src/client/views/collections/CollectionStackedTimeline.tsx
@@ -247,8 +247,10 @@ export class CollectionStackedTimeline extends CollectionSubView<
(this._markerEnd = undefined);
}),
(e, doubleTap) => {
- this.props.select(false);
- !wasPlaying && doubleTap && this.props.Play();
+ if (e.button !== 2) {
+ this.props.select(false);
+ !wasPlaying && doubleTap && this.props.Play();
+ }
},
this.props.isSelected(true) || this.props.isContentActive(),
undefined,
@@ -819,6 +821,7 @@ class StackedTimelineAnchor extends React.Component<StackedTimelineAnchorProps>
isDocumentActive={this.props.isDocumentActive}
PanelWidth={width}
PanelHeight={height}
+ fitWidth={returnTrue}
ScreenToLocalTransform={screenXf}
focus={focusFunc}
rootSelected={returnFalse}