aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionStackedTimeline.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-05-06 19:09:02 -0400
committerbobzel <zzzman@gmail.com>2024-05-06 19:09:02 -0400
commit23d4470b3f6a0bd862f3f5f9c775be039d479d81 (patch)
tree577b35301d0ba9961beb7d3837e531b4a0c61c8c /src/client/views/collections/CollectionStackedTimeline.tsx
parent139600ab7e8a82a31744cd3798247236cd5616fc (diff)
eslint cleanup
Diffstat (limited to 'src/client/views/collections/CollectionStackedTimeline.tsx')
-rw-r--r--src/client/views/collections/CollectionStackedTimeline.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionStackedTimeline.tsx b/src/client/views/collections/CollectionStackedTimeline.tsx
index f9b123bb6..1604920f6 100644
--- a/src/client/views/collections/CollectionStackedTimeline.tsx
+++ b/src/client/views/collections/CollectionStackedTimeline.tsx
@@ -855,7 +855,7 @@ class StackedTimelineAnchor extends ObservableReactComponent<StackedTimelineAnch
isDocumentActive={this._props.isDocumentActive}
PanelWidth={width}
PanelHeight={height}
- layout_fitWidth={returnTrue}
+ fitWidth={returnTrue}
ScreenToLocalTransform={screenXf}
pinToPres={emptyFunction}
focus={focusFunc}
@@ -882,7 +882,7 @@ class StackedTimelineAnchor extends ObservableReactComponent<StackedTimelineAnch
return (
<div style={{ pointerEvents: this.noEvents ? 'none' : undefined }}>
{inner.view}
- {!inner.anchor.view || !inner.anchor.view.IsSelected ? null : (
+ {!inner.anchor.view?.IsSelected ? null : (
<>
<div key="left" className="collectionStackedTimeline-left-resizer" style={{ pointerEvents: this.noEvents ? 'none' : undefined }} onPointerDown={e => this.onAnchorDown(e, this._props.mark, true)} />
<div key="right" className="collectionStackedTimeline-resizer" style={{ pointerEvents: this.noEvents ? 'none' : undefined }} onPointerDown={e => this.onAnchorDown(e, this._props.mark, false)} />