diff options
| author | mehekj <mehek.jethani@gmail.com> | 2021-10-07 16:08:30 -0400 |
|---|---|---|
| committer | mehekj <mehek.jethani@gmail.com> | 2021-10-07 16:08:30 -0400 |
| commit | dda3d092ba9f071f567d279aed369efe185ffbde (patch) | |
| tree | 4c644bee7c5931f5397db75d49ea9df5eef5979c /src/client/views/collections | |
| parent | ecf6d510b5ab2e91753907adf4aadccacc3ac4fa (diff) | |
fix presentation play bounds to fit trim bounds
Diffstat (limited to 'src/client/views/collections')
| -rw-r--r-- | src/client/views/collections/TabDocView.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/TabDocView.tsx b/src/client/views/collections/TabDocView.tsx index eb95bb913..9f24d60d8 100644 --- a/src/client/views/collections/TabDocView.tsx +++ b/src/client/views/collections/TabDocView.tsx @@ -220,8 +220,8 @@ export class TabDocView extends React.Component<TabDocViewProps> { if (!pinProps?.audioRange && duration !== undefined) { pinDoc.mediaStart = "manual"; pinDoc.mediaStop = "manual"; - pinDoc.presStartTime = 0; - pinDoc.presEndTime = duration; + pinDoc.presStartTime = doc.clipStart; + pinDoc.presEndTime = doc.clipEnd; } //save position if (pinProps?.setPosition || pinDoc.isInkMask) { |
