From e969c6c4abe08d7f46d51d5511a04a5500a76d3e Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 23 Apr 2025 14:39:29 -0400 Subject: fixed how pdf worker is copied and accessed. --- src/client/views/nodes/scrapbook/ScrapbookBox.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/client/views/nodes/scrapbook') diff --git a/src/client/views/nodes/scrapbook/ScrapbookBox.tsx b/src/client/views/nodes/scrapbook/ScrapbookBox.tsx index 6ee9f39ab..b241b27d7 100644 --- a/src/client/views/nodes/scrapbook/ScrapbookBox.tsx +++ b/src/client/views/nodes/scrapbook/ScrapbookBox.tsx @@ -52,7 +52,8 @@ export class ScrapbookBox extends ViewBoxAnnotatableComponent() const placeholder = new Doc(); placeholder.proto = image; placeholder.original = image; - placeholder.height = 200; + placeholder._width = 250; + placeholder._height = 200; placeholder.x = 0; placeholder.y = -100; //placeholder.overrideFields = new List(['x', 'y']); // shouldn't need to do this for layout fields since the placeholder already overrides its protos -- cgit v1.2.3-70-g09d2