aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionSubView.tsx
diff options
context:
space:
mode:
authorFawn <fangrui_tong@brown.edu>2020-01-14 17:40:50 -0500
committerFawn <fangrui_tong@brown.edu>2020-01-14 17:40:50 -0500
commit3cca58612cde96a3082ca8e190fe2166d531d556 (patch)
treef1689113a40b84d402af8132868dfb945f2a5d32 /src/client/views/collections/CollectionSubView.tsx
parentb4c2d2add2b863060ce559e49b3953f24050f162 (diff)
drawn strokes get added to mobile ink collection
Diffstat (limited to 'src/client/views/collections/CollectionSubView.tsx')
-rw-r--r--src/client/views/collections/CollectionSubView.tsx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionSubView.tsx b/src/client/views/collections/CollectionSubView.tsx
index d8b575092..e94f24f2c 100644
--- a/src/client/views/collections/CollectionSubView.tsx
+++ b/src/client/views/collections/CollectionSubView.tsx
@@ -53,9 +53,7 @@ export function CollectionSubView<T>(schemaCtor: (doc: Doc) => T) {
protected createDropAndGestureTarget = (ele: HTMLDivElement) => { //used for stacking and masonry view
this.dropDisposer && this.dropDisposer();
this.gestureDisposer && this.gestureDisposer();
- console.log("create drop", ele);
if (ele) {
- console.log("create drop 2", ele);
this.dropDisposer = DragManager.MakeDropTarget(ele, this.drop.bind(this));
this.gestureDisposer = GestureUtils.MakeGestureTarget(ele, this.onGesture.bind(this));
}