diff options
author | anika-ahluwalia <anika.ahluwalia@gmail.com> | 2020-06-07 13:14:20 -0500 |
---|---|---|
committer | anika-ahluwalia <anika.ahluwalia@gmail.com> | 2020-06-07 13:14:20 -0500 |
commit | 6c9a18d8ec385255aa0175c23aed9f9a006ad060 (patch) | |
tree | 87455150f6daf89ed5540eaaba20593dff344d06 /src/client/views/nodes/ScriptingBox.tsx | |
parent | 4ac63cedfdfd33b47c97e7cc8be60ec9b5490a3e (diff) |
bringing back overlays
Diffstat (limited to 'src/client/views/nodes/ScriptingBox.tsx')
-rw-r--r-- | src/client/views/nodes/ScriptingBox.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/ScriptingBox.tsx b/src/client/views/nodes/ScriptingBox.tsx index f44f4fdad..149640c07 100644 --- a/src/client/views/nodes/ScriptingBox.tsx +++ b/src/client/views/nodes/ScriptingBox.tsx @@ -210,8 +210,8 @@ export class ScriptingBox extends ViewBoxAnnotatableComponent<FieldViewProps, Sc // overlays document numbers (ex. d32) over all documents when clicked on onFocus = () => { - // this._overlayDisposer?.(); - // this._overlayDisposer = OverlayView.Instance.addElement(<DocumentIconContainer />, { x: 0, y: 0 }); + this._overlayDisposer?.(); + this._overlayDisposer = OverlayView.Instance.addElement(<DocumentIconContainer />, { x: 0, y: 0 }); } // sets field of the corresponding field key (param name) to be dropped document |