diff options
| author | bobzel <zzzman@gmail.com> | 2021-02-05 13:52:32 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-02-05 13:52:32 -0500 |
| commit | d5bda76f901c27771715f2443392ff7d54f99693 (patch) | |
| tree | fd5cfe9c73cf579ebb1f035820ce8f1ab2c2814c /src/client/views/Palette.tsx | |
| parent | b846e1c28f92bb21063c15fe43c07d98335b4315 (diff) | |
cleaned up lightbox. replaced old npm lightbox.
Diffstat (limited to 'src/client/views/Palette.tsx')
| -rw-r--r-- | src/client/views/Palette.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/Palette.tsx b/src/client/views/Palette.tsx index d181c7651..6268be31c 100644 --- a/src/client/views/Palette.tsx +++ b/src/client/views/Palette.tsx @@ -3,7 +3,7 @@ import { observer } from "mobx-react"; import * as React from "react"; import { Doc } from "../../fields/Doc"; import { NumCast } from "../../fields/Types"; -import { emptyFunction, returnEmptyDoclist, returnEmptyFilter, returnEmptyString, returnFalse, returnTrue } from "../../Utils"; +import { emptyFunction, returnEmptyDoclist, returnEmptyFilter, returnEmptyString, returnFalse, returnTrue, emptyPath } from "../../Utils"; import { Transform } from "../util/Transform"; import { DocumentView } from "./nodes/DocumentView"; import "./Palette.scss"; @@ -50,7 +50,9 @@ export default class Palette extends React.Component<PaletteProps> { PanelHeight={() => window.screen.height} renderDepth={0} focus={emptyFunction} + docViewPath={emptyPath} styleProvider={returnEmptyString} + layerProvider={undefined} parentActive={returnTrue} whenActiveChanged={emptyFunction} bringToFront={emptyFunction} |
