aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/trails/PresBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-03-13 19:23:31 -0400
committerbobzel <zzzman@gmail.com>2025-03-13 19:23:31 -0400
commit4433afe837412c10a278e54ee8069cad992900a0 (patch)
treee21a2567c0129f1e62eac4b16c6da78efc761e2f /src/client/views/nodes/trails/PresBox.tsx
parent3f441a7bece4fba04fd498003a4d2554a91bd432 (diff)
cleaned up how Presboxelement finds PresBox
Diffstat (limited to 'src/client/views/nodes/trails/PresBox.tsx')
-rw-r--r--src/client/views/nodes/trails/PresBox.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/trails/PresBox.tsx b/src/client/views/nodes/trails/PresBox.tsx
index 9ab5fb1bd..f818c6e20 100644
--- a/src/client/views/nodes/trails/PresBox.tsx
+++ b/src/client/views/nodes/trails/PresBox.tsx
@@ -210,6 +210,7 @@ export class PresBox extends ViewBoxBaseComponent<FieldViewProps>() {
}
componentDidMount() {
+ this._props.setContentViewBox?.(this);
this._disposers.pause = reaction(
() => SnappingManager.UserPanned,
() => this.pauseAutoPres()