aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DataVizBox/DocCreatorMenu.tsx
diff options
context:
space:
mode:
authorNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-10-09 16:58:33 -0400
committerNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-10-09 16:58:33 -0400
commit6ae5bd63d5355a03dba099a149532e7c6b1fd74a (patch)
tree5971f41919806c4055aab9f6e8d3284a7098cd14 /src/client/views/nodes/DataVizBox/DocCreatorMenu.tsx
parentb21d8cc9d1b25ccd2e0103f47ad132dd6f04612d (diff)
small changes for pull request; removed schema type reference in editableview; a couple lint changes
Diffstat (limited to 'src/client/views/nodes/DataVizBox/DocCreatorMenu.tsx')
-rw-r--r--src/client/views/nodes/DataVizBox/DocCreatorMenu.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DataVizBox/DocCreatorMenu.tsx b/src/client/views/nodes/DataVizBox/DocCreatorMenu.tsx
index 44f743a97..ad47b7848 100644
--- a/src/client/views/nodes/DataVizBox/DocCreatorMenu.tsx
+++ b/src/client/views/nodes/DataVizBox/DocCreatorMenu.tsx
@@ -943,7 +943,7 @@ export class DocCreatorMenu extends ObservableReactComponent<FieldViewProps> {
removeDocument={returnFalse}
PanelWidth={() => this._menuDimensions.width - 10}
PanelHeight={() => this._menuDimensions.height - 60}
- ScreenToLocalTransform={Transform.Identity}
+ ScreenToLocalTransform={() => new Transform(-this._pageX,-this._pageY, 1)}
renderDepth={5}
whenChildContentsActiveChanged={emptyFunction}
focus={emptyFunction}