diff options
author | bobzel <zzzman@gmail.com> | 2022-04-04 11:39:17 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-04-04 11:39:17 -0400 |
commit | 1ca9e485ea99db7db35fe52b0e15d6defa7568d3 (patch) | |
tree | 76afa097726e2eb8761ec3e7d811c9d72e4c6d89 /src/client/views/nodes/LinkDocPreview.tsx | |
parent | 69625f2e9ecbffaa343af16eebe04c9b555fdf23 (diff) |
cleaned up warnings. fixed ink to work better with it's label boxes by not letting textbox ComponentView override inkinstroke. made ink text boxes go away unless they have text or are selected. fixed up brushing code and made it work for ink and ink w/ text labels
Diffstat (limited to 'src/client/views/nodes/LinkDocPreview.tsx')
-rw-r--r-- | src/client/views/nodes/LinkDocPreview.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/LinkDocPreview.tsx b/src/client/views/nodes/LinkDocPreview.tsx index 46736aa4e..7637d39be 100644 --- a/src/client/views/nodes/LinkDocPreview.tsx +++ b/src/client/views/nodes/LinkDocPreview.tsx @@ -182,6 +182,7 @@ export class LinkDocPreview extends React.Component<LinkDocPreviewProps> { PanelHeight={this.height} focus={DocUtils.DefaultFocus} whenChildContentsActiveChanged={returnFalse} + ignoreAutoHeight={true} // need to ignore autoHeight otherwise autoHeight text boxes will expand beyond the preview panel size. bringToFront={returnFalse} NativeWidth={Doc.NativeWidth(this._targetDoc) ? () => Doc.NativeWidth(this._targetDoc) : undefined} NativeHeight={Doc.NativeHeight(this._targetDoc) ? () => Doc.NativeHeight(this._targetDoc) : undefined} |