aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/scrapbook
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-04-23 14:39:29 -0400
committerbobzel <zzzman@gmail.com>2025-04-23 14:39:29 -0400
commite969c6c4abe08d7f46d51d5511a04a5500a76d3e (patch)
tree1acc13ef853263f76fe5f39a64bd61c54961a61f /src/client/views/nodes/scrapbook
parent7671e543dc677c82071d6eaccc33bd164450620d (diff)
fixed how pdf worker is copied and accessed.
Diffstat (limited to 'src/client/views/nodes/scrapbook')
-rw-r--r--src/client/views/nodes/scrapbook/ScrapbookBox.tsx3
1 files changed, 2 insertions, 1 deletions
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<FieldViewProps>()
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<string>(['x', 'y']); // shouldn't need to do this for layout fields since the placeholder already overrides its protos