diff options
| author | bobzel <zzzman@gmail.com> | 2025-06-19 15:21:53 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2025-06-19 15:21:53 -0400 |
| commit | dd84952de3381049aca6742054f28bf502df2e16 (patch) | |
| tree | 9fc84301bf19c0f2d1940981f0c8a98a498d14c2 /src/client/views/nodes/scrapbook | |
| parent | a913c8d9bd7728ceea7b44ac1b271723464adbb9 (diff) | |
removing references to Box types from documentdecorations - added showBorderRounding to viewBoxInterface.
Diffstat (limited to 'src/client/views/nodes/scrapbook')
| -rw-r--r-- | src/client/views/nodes/scrapbook/ScrapbookBox.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/nodes/scrapbook/ScrapbookBox.tsx b/src/client/views/nodes/scrapbook/ScrapbookBox.tsx index ff757af88..d0ae6194f 100644 --- a/src/client/views/nodes/scrapbook/ScrapbookBox.tsx +++ b/src/client/views/nodes/scrapbook/ScrapbookBox.tsx @@ -24,6 +24,7 @@ import { ScrapbookItemConfig } from './ScrapbookPreset'; import { createPreset, getPresetNames } from './ScrapbookPresetRegistry'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { DocUtils } from '../../../documents/DocUtils'; +import { returnTrue } from '../../../../ClientUtils'; function createPlaceholder(cfg: ScrapbookItemConfig, doc: Doc) { const placeholder = new Doc(); @@ -175,7 +176,8 @@ export class ScrapbookBox extends ViewBoxAnnotatableComponent<FieldViewProps>() ); } - isOutpaintable = () => true; + isOutpaintable = returnTrue; + showBorderRounding = returnTrue; @action generateAiImage = (prompt: string) => { |
