aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-11-22 20:15:50 -0500
committerbobzel <zzzman@gmail.com>2020-11-22 20:15:50 -0500
commitd78d0f9aa58bcce7e616ac95410e055628f563eb (patch)
tree9c34d5df46484337b8545bdff3e5e41bed3f597c /src/client/views/nodes/DocumentView.tsx
parent759145d61aacb27922071a3796955c6d365cb4f4 (diff)
fixed backgroundHalo() computedFn to not invalidate and cause new text boxes to lose focus.
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r--src/client/views/nodes/DocumentView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index 9e24d2284..8ae548813 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -92,7 +92,7 @@ export interface DocumentViewProps {
bringToFront: (doc: Doc, sendToBack?: boolean) => void;
addDocTab: (doc: Doc, where: string, libraryPath?: Doc[]) => boolean;
pinToPres: (document: Doc) => void;
- backgroundHalo?: () => boolean;
+ backgroundHalo?: (doc: Doc) => boolean;
styleProvider?: (doc: Opt<Doc>, renderDepth: number, property: string, layerProvider?: (doc: Doc, assign?: boolean) => boolean) => any;
forcedBackgroundColor?: (doc: Doc) => string | undefined;
opacity?: () => number | undefined;