diff options
author | bobzel <zzzman@gmail.com> | 2023-07-02 12:36:37 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-07-02 12:36:37 -0400 |
commit | 02926d42bd7dfefbf87709abb45f1b359e4bfcdf (patch) | |
tree | 81fbdd1768753df5020806ab2170076b6de89496 /src/client/views/DocComponent.tsx | |
parent | b87d49ee80db8bb657244c96f504cf1f5db06084 (diff) |
made multicolumn/row views fit contents to panel and center. changed collection drop to propagate when embed is not enabled. fixed image box drop . made goldenlayout tabs selectable. turned off leaving pushpins on drag out. fixed long press to disable on drag.
Diffstat (limited to 'src/client/views/DocComponent.tsx')
-rw-r--r-- | src/client/views/DocComponent.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocComponent.tsx b/src/client/views/DocComponent.tsx index 3de40a640..70d208a0b 100644 --- a/src/client/views/DocComponent.tsx +++ b/src/client/views/DocComponent.tsx @@ -173,7 +173,7 @@ export function ViewBoxAnnotatableComponent<P extends ViewBoxAnnotatableProps>() } const first = doc instanceof Doc ? doc : doc[0]; if (!first?._dragOnlyWithinContainer && addDocument !== returnFalse) { - return this.removeDocument(doc, annotationKey, true) && addDocument(doc, annotationKey); + return this.removeDocument(doc, annotationKey, false) && addDocument(doc, annotationKey); } return false; }; |