Skip to content

Commit 90c3f71

Browse files
committed
temporarily comment out lines involving isOverlayVisible
1 parent d52d64c commit 90c3f71

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

client/modules/IDE/pages/IDEView.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const IDEView = () => {
8080

8181
const [consoleSize, setConsoleSize] = useState(150);
8282
const [sidebarSize, setSidebarSize] = useState(160);
83-
const [isOverlayVisible, setIsOverlayVisible] = useState(true);
83+
// const [isOverlayVisible, setIsOverlayVisible] = useState(true);
8484

8585
const cmRef = useRef({});
8686

@@ -155,11 +155,11 @@ const IDEView = () => {
155155
split="vertical"
156156
defaultSize="50%"
157157
onChange={() => {
158-
setIsOverlayVisible(true);
158+
// setIsOverlayVisible(true);
159159
}}
160160
onDragFinished={() => {
161161
// overlayRef.current.style.display = 'none';
162-
setIsOverlayVisible(false);
162+
// setIsOverlayVisible(false);
163163
}}
164164
resizerStyle={{
165165
borderLeftWidth: '2px',
@@ -193,7 +193,7 @@ const IDEView = () => {
193193
<div className="preview-frame__content">
194194
<div
195195
className="preview-frame-overlay"
196-
style={{ display: isOverlayVisible ? 'block' : 'none' }}
196+
// style={{ display: isOverlayVisible ? 'block' : 'none' }}
197197
/>
198198
<div>
199199
{((preferences.textOutput || preferences.gridOutput) &&

0 commit comments

Comments
 (0)