diff options
author | bobzel <zzzman@gmail.com> | 2024-10-08 22:51:46 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-10-08 22:51:46 -0400 |
commit | 972839216c14baa5c9eaf80e1fb2fb2694bbb72c (patch) | |
tree | ebd73624983ad563134a6c17e8bce04a8a4bd38e /src/client/views/nodes/FieldView.tsx | |
parent | caceff7f37b4e49621bc3495bf1d51fcc3a79957 (diff) |
modified how buttons are laid out on carousel and comparison views so that text boxes can reflow around them. extracted flashcard pratice into its own component and applied it to carousel3D and carousel
Diffstat (limited to 'src/client/views/nodes/FieldView.tsx')
-rw-r--r-- | src/client/views/nodes/FieldView.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/FieldView.tsx b/src/client/views/nodes/FieldView.tsx index 170966471..c81631baa 100644 --- a/src/client/views/nodes/FieldView.tsx +++ b/src/client/views/nodes/FieldView.tsx @@ -51,6 +51,7 @@ export interface FieldViewSharedProps { LayoutTemplate?: () => Opt<Doc>; renderDepth: number; scriptContext?: unknown; // can be assigned anything and will be passed as 'scriptContext' to any OnClick script that executes on this document + screenXPadding?: () => number; // padding in screen space coordinates (used by text box to reflow around UI buttons in carouselView) xPadding?: number; yPadding?: number; dontRegisterView?: boolean; |