diff options
author | Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> | 2024-05-02 00:57:20 -0400 |
---|---|---|
committer | Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> | 2024-05-02 00:57:20 -0400 |
commit | 847a65ba1f21d7751ff4839048cffb32dd952bb1 (patch) | |
tree | 8c67c3b7ebf0f61b9427284332bb36b57796b597 /src/client/views/nodes/DocumentView.tsx | |
parent | 154029278c92327eb48955ac2c7137b5a59b1d7d (diff) |
arrow selection fixed
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 5f243ad9f..10a55b260 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -382,7 +382,7 @@ export class DocumentViewInternal extends DocComponent<FieldViewProps & Document onPointerDown = (e: React.PointerEvent): void => { if (this._props.isGroupActive?.() === 'child' && !this._props.isDocumentActive?.()) return; - this._longPressSelector = setTimeout(() => {console.log("long press"); DocumentView.LongPress && this._props.select(false), 1000}); //!!! + this._longPressSelector = setTimeout(() => (DocumentView.LongPress && this._props.select(false), 1000)); //!!! if (!GestureOverlay.DownDocView) GestureOverlay.DownDocView = this._docView; this._downX = e.clientX; |