aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-09-04 00:46:41 -0400
committerbobzel <zzzman@gmail.com>2021-09-04 00:46:41 -0400
commit9a4bd3ca5dbe192eec20bf405a9904ef8b546de6 (patch)
treededb50e4979820099db02912d187ae740c59a995 /src/client/views/nodes/DocumentView.tsx
parent85345138396771a30f9d0e7a26837edc0a972bee (diff)
added top/left clip bounds to ink decorations
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 4e6ed40d1..a9b303294 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -88,7 +88,7 @@ export interface DocComponentView {
setKeyFrameEditing?: (set: boolean) => void; // whether the document is in keyframe editing mode (if it is, then all hidden documents that are not active at the keyframe time will still be shown)
playFrom?: (time: number, endTime?: number) => void;
setFocus?: () => void;
- componentUI?: () => JSX.Element;
+ componentUI?: (boundsLeft: number, boundsTop: number) => JSX.Element;
}
export interface DocumentViewSharedProps {
renderDepth: number;