aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/Palette.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/Palette.tsx')
-rw-r--r--src/client/views/Palette.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/views/Palette.tsx b/src/client/views/Palette.tsx
index b31cfd7d2..d181c7651 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, emptyPath, returnEmptyString, returnZero, returnFalse, returnOne, returnTrue, returnEmptyFilter, returnEmptyDoclist } from "../../Utils";
+import { emptyFunction, returnEmptyDoclist, returnEmptyFilter, returnEmptyString, returnFalse, returnTrue } from "../../Utils";
import { Transform } from "../util/Transform";
import { DocumentView } from "./nodes/DocumentView";
import "./Palette.scss";
@@ -45,9 +45,7 @@ export default class Palette extends React.Component<PaletteProps> {
rootSelected={returnTrue}
pinToPres={emptyFunction}
removeDocument={undefined}
- onClick={undefined}
ScreenToLocalTransform={Transform.Identity}
- ContentScaling={returnOne}
PanelWidth={() => window.screen.width}
PanelHeight={() => window.screen.height}
renderDepth={0}