aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/OverlayView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-03-28 19:53:49 -0400
committerbobzel <zzzman@gmail.com>2023-03-28 19:53:49 -0400
commit0d899471be676f6619244350982630b151bb4b41 (patch)
tree506ef7960bf460951155cf2a8efd77f834e17d0c /src/client/views/OverlayView.tsx
parentdabac69d26c8e8e69bd55466ce221d9e33e36638 (diff)
mostly code cleaning. small bugs
Diffstat (limited to 'src/client/views/OverlayView.tsx')
-rw-r--r--src/client/views/OverlayView.tsx6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/client/views/OverlayView.tsx b/src/client/views/OverlayView.tsx
index 34e8cd6dd..ec22128d4 100644
--- a/src/client/views/OverlayView.tsx
+++ b/src/client/views/OverlayView.tsx
@@ -219,6 +219,7 @@ export class OverlayView extends React.Component {
PanelHeight={d[HeightSym]}
ScreenToLocalTransform={this.docScreenToLocalXf(d)}
renderDepth={1}
+ hideDecorations={true}
isDocumentActive={returnTrue}
isContentActive={returnTrue}
whenChildContentsActiveChanged={emptyFunction}
@@ -252,8 +253,3 @@ export class OverlayView extends React.Component {
);
}
}
-// bcz: ugh ... want to be able to pass ScriptingRepl as tag argument, but that doesn't seem to work.. runtime error
-ScriptingGlobals.add(function addOverlayWindow(type: string, options: OverlayElementOptions) {
- OverlayView.Instance.addWindow(<ScriptingRepl />, options);
- addOverlayWindow('ScriptingRepl', { x: 300, y: 100, width: 200, height: 200, title: 'Scripting REPL' });
-});