diff options
| author | bobzel <zzzman@gmail.com> | 2021-01-28 20:51:39 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-01-28 20:51:39 -0500 |
| commit | b11652e06205bf214f9504330df3980af643a7cc (patch) | |
| tree | 3458df2269cba591bb4cd8ffb299ac62a7c3e785 /src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | |
| parent | 13fa5643246233c6f6a1fb232ef3dadbd7d8fa08 (diff) | |
fixed up double click behavior in general but specifically for Audio/Video timelines
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 4d277dc1c..6c7512f7c 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -818,9 +818,8 @@ export class CollectionFreeFormView extends CollectionSubView<PanZoomDocument, P e.stopPropagation(); e.preventDefault(); if (!e.ctrlKey && MarqueeView.DragMarquee) this.setPan(this.panX() + e.deltaX, this.panY() + e.deltaY, "None", true); - else - // if (!this.props.isAnnotationOverlay) // bcz: do we want to zoom in on images/videos/etc? - this.zoom(e.clientX, e.clientY, e.deltaY); + else this.zoom(e.clientX, e.clientY, e.deltaY); // if (!this.props.isAnnotationOverlay) // bcz: do we want to zoom in on images/videos/etc? + } this.props.Document.targetScale = NumCast(this.props.Document[this.scaleFieldKey]); } |
