diff options
| author | bobzel <zzzman@gmail.com> | 2024-01-23 16:11:42 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-01-23 16:11:42 -0500 |
| commit | af380979349308077e13fc12a2d09255b7f05f28 (patch) | |
| tree | 79585221a23bccf2d352095b26bea99981ca92dc /src/client/views/nodes/DocumentIcon.tsx | |
| parent | 001127c07f95173d7036db19d07dcfb1135f3caa (diff) | |
reorganization of DocumentView, DocumentViewInternal and FieldView methods and props. fix for selection bug after following a link. migrating to use [DocData] instad of GetProto()
Diffstat (limited to 'src/client/views/nodes/DocumentIcon.tsx')
| -rw-r--r-- | src/client/views/nodes/DocumentIcon.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentIcon.tsx b/src/client/views/nodes/DocumentIcon.tsx index 5ce08cdc3..4a22766cc 100644 --- a/src/client/views/nodes/DocumentIcon.tsx +++ b/src/client/views/nodes/DocumentIcon.tsx @@ -29,7 +29,7 @@ export class DocumentIcon extends ObservableReactComponent<DocumentIconProps> { } render() { const view = this._props.view; - const { left, top, right, bottom } = view.getBounds() || { left: 0, top: 0, right: 0, bottom: 0 }; + const { left, top, right, bottom } = view.getBounds || { left: 0, top: 0, right: 0, bottom: 0 }; return ( <div |
