diff options
author | bobzel <zzzman@gmail.com> | 2021-03-17 15:08:47 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-03-17 15:08:47 -0400 |
commit | 73dc79ddc41b56e2f36a5b2e442fe9c71648b118 (patch) | |
tree | 05f0e9d56d41bac57efe1f1878e3893113f31383 /src/client/views/nodes/DocumentView.tsx | |
parent | ec9f7bd78aa5560af4249e305a74fa304ed02007 (diff) |
rearranged top bar buttons - moved some into PropertiesButtons. Cleaned up 'editing' field for key frames to not write to the document.
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index e9b7d06d6..a1bedcf6e 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -83,6 +83,8 @@ export interface DocComponentView { reverseNativeScaling?: () => boolean; // DocumentView's setup screenToLocal based on the doc having a nativeWidth/Height. However, some content views (e.g., FreeFormView w/ fitToBox set) may ignore the native dimensions so this flags the DocumentView to not do Nativre scaling. shrinkWrap?: () => void; // requests a document to display all of its contents with no white space. currently only implemented (needed?) for freeform views menuControls?: () => JSX.Element; // controls to display in the top menu bar when the document is selected. + getKeyFrameEditing?: () => boolean; // 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) + 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) } export interface DocumentViewSharedProps { renderDepth: number; |