From 9a4bd3ca5dbe192eec20bf405a9904ef8b546de6 Mon Sep 17 00:00:00 2001 From: bobzel Date: Sat, 4 Sep 2021 00:46:41 -0400 Subject: added top/left clip bounds to ink decorations --- src/client/views/nodes/DocumentView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/views/nodes/DocumentView.tsx') 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; -- cgit v1.2.3-70-g09d2