diff options
| author | bobzel <zzzman@gmail.com> | 2022-12-05 22:45:22 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-12-05 22:45:22 -0500 |
| commit | 613daac016c367205ff1afddd81b7b9111c52d33 (patch) | |
| tree | 3120908a581fdeed709e1b60516ca2e97ad58fca /src/client/views/nodes/ImageBox.tsx | |
| parent | 66184a172006de4d4bf72d9da33858e04d298181 (diff) | |
cleaning up following links and pres item following so that view transitions don't interfere when clicking quickly (eg through animation frames). changed animations to animate multi-level zooming parallel.
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
| -rw-r--r-- | src/client/views/nodes/ImageBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx index 416107859..19f5e9e29 100644 --- a/src/client/views/nodes/ImageBox.tsx +++ b/src/client/views/nodes/ImageBox.tsx @@ -65,7 +65,7 @@ export class ImageBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProp scrollFocus = (anchor: Doc, options: DocFocusOptions) => { const focusSpeed = options.instant ? 0 : options.zoomTime ?? 500; return PresBox.restoreTargetDocView( - this.rootDoc, // + this.props.DocumentView?.(), // { pinDocLayout: BoolCast(anchor.presPinDocLayout) }, anchor, focusSpeed, |
