diff options
| author | bobzel <zzzman@gmail.com> | 2022-07-08 12:37:06 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-07-08 12:37:06 -0400 |
| commit | 5628b585fa6356d66cf2e7454be20e3b847ad22e (patch) | |
| tree | 7836fd781c3cd82c00965d22c6bdf325414ef490 /src/client/views/collections/CollectionView.tsx | |
| parent | 146f8622d5bac2edc6b09f57c173bd057dfbcfad (diff) | |
fixes for drawing ink on pdf/image/etc. fixes for showing contextMenu. moved gestureOverlay into main dashboard area to avoid drawing on UI widgets. more code cleanup to put things in reasonable places and avoid importing too much stuff.
Diffstat (limited to 'src/client/views/collections/CollectionView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionView.tsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionView.tsx b/src/client/views/collections/CollectionView.tsx index f38efe578..2ab5f6247 100644 --- a/src/client/views/collections/CollectionView.tsx +++ b/src/client/views/collections/CollectionView.tsx @@ -160,7 +160,6 @@ export class CollectionView extends ViewBoxAnnotatableComponent<ViewBoxAnnotatab onContextMenu = (e: React.MouseEvent): void => { const cm = ContextMenu.Instance; - if (e.nativeEvent.cancelBubble) return; // nested calls to React to render can cause the same event to trigger in the outer view even if the inner view has handled it. This avoid CollectionDockingView menu options from being added when the event has been handled by a sub-document. if (cm && !e.isPropagationStopped() && this.rootDoc[Id] !== Doc.MainDocId) { // need to test this because GoldenLayout causes a parallel hierarchy in the React DOM for its children and the main document view7 this.setupViewTypes( |
