aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/OverlayView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-02-05 13:52:32 -0500
committerbobzel <zzzman@gmail.com>2021-02-05 13:52:32 -0500
commitd5bda76f901c27771715f2443392ff7d54f99693 (patch)
treefd5cfe9c73cf579ebb1f035820ce8f1ab2c2814c /src/client/views/OverlayView.tsx
parentb846e1c28f92bb21063c15fe43c07d98335b4315 (diff)
cleaned up lightbox. replaced old npm lightbox.
Diffstat (limited to 'src/client/views/OverlayView.tsx')
-rw-r--r--src/client/views/OverlayView.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/OverlayView.tsx b/src/client/views/OverlayView.tsx
index 78053be92..628003391 100644
--- a/src/client/views/OverlayView.tsx
+++ b/src/client/views/OverlayView.tsx
@@ -5,7 +5,7 @@ import ReactLoading from 'react-loading';
import { Doc } from "../../fields/Doc";
import { Id } from "../../fields/FieldSymbols";
import { Cast, NumCast } from "../../fields/Types";
-import { emptyFunction, returnEmptyDoclist, returnEmptyFilter, returnFalse, returnOne, returnTrue, setupMoveUpEvents, Utils } from "../../Utils";
+import { emptyFunction, returnEmptyDoclist, returnEmptyFilter, returnFalse, returnOne, returnTrue, setupMoveUpEvents, Utils, emptyPath } from "../../Utils";
import { CurrentUserUtils } from "../util/CurrentUserUtils";
import { DragManager } from "../util/DragManager";
import { Scripting } from "../util/Scripting";
@@ -193,6 +193,8 @@ export class OverlayView extends React.Component {
whenActiveChanged={emptyFunction}
focus={emptyFunction}
styleProvider={DefaultStyleProvider}
+ layerProvider={undefined}
+ docViewPath={emptyPath}
addDocTab={returnFalse}
pinToPres={emptyFunction}
docFilters={returnEmptyFilter}