aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormehekj <mehek.jethani@gmail.com>2021-09-24 12:31:18 -0400
committermehekj <mehek.jethani@gmail.com>2021-09-24 12:31:18 -0400
commit2e51127cd8394d3cf9fb0ce4572c5790f1618d2f (patch)
tree01baf4f6c550af06e7687301ee5c7afb51b760db /src
parenta66f7fb35b174e966e81cf0d223043079610584f (diff)
removed marker vertical offset
Diffstat (limited to 'src')
-rw-r--r--src/client/views/collections/CollectionStackedTimeline.tsx32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/client/views/collections/CollectionStackedTimeline.tsx b/src/client/views/collections/CollectionStackedTimeline.tsx
index 7859d3c3f..899e22984 100644
--- a/src/client/views/collections/CollectionStackedTimeline.tsx
+++ b/src/client/views/collections/CollectionStackedTimeline.tsx
@@ -581,7 +581,7 @@ export class CollectionStackedTimeline extends CollectionSubView<
start + (10 / timelineContentWidth) * this.clipDuration
);
const left = Math.max((start - this.props.clipStart) / this.clipDuration * timelineContentWidth, 0);
- const top = (d.level / maxLevel) * this.timelineContentHeight() + 15;
+ const top = (d.level / maxLevel) * this.timelineContentHeight();
const timespan = end - start;
const width = (timespan / this.clipDuration) * timelineContentWidth;
const height = (this.timelineContentHeight()) / maxLevel;
@@ -860,21 +860,21 @@ class StackedTimelineAnchor extends React.Component<StackedTimelineAnchorProps>
{inner.view}
{!inner.anchor.view ||
!SelectionManager.IsSelected(inner.anchor.view) ? null : (
- <>
- <div
- key="left"
- className="collectionStackedTimeline-left-resizer"
- onPointerDown={(e) => this.onAnchorDown(e, this.props.mark, true)}
- />
- <div
- key="right"
- className="collectionStackedTimeline-resizer"
- onPointerDown={(e) =>
- this.onAnchorDown(e, this.props.mark, false)
- }
- />
- </>
- )}
+ <>
+ <div
+ key="left"
+ className="collectionStackedTimeline-left-resizer"
+ onPointerDown={(e) => this.onAnchorDown(e, this.props.mark, true)}
+ />
+ <div
+ key="right"
+ className="collectionStackedTimeline-resizer"
+ onPointerDown={(e) =>
+ this.onAnchorDown(e, this.props.mark, false)
+ }
+ />
+ </>
+ )}
</>
);
}