Skip to content

Commit

Permalink
temporarily comment out lines involving isOverlayVisible
Browse files Browse the repository at this point in the history
  • Loading branch information
raclim committed Oct 17, 2023
1 parent d52d64c commit 90c3f71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/modules/IDE/pages/IDEView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const IDEView = () => {

const [consoleSize, setConsoleSize] = useState(150);
const [sidebarSize, setSidebarSize] = useState(160);
const [isOverlayVisible, setIsOverlayVisible] = useState(true);
// const [isOverlayVisible, setIsOverlayVisible] = useState(true);

const cmRef = useRef({});

Expand Down Expand Up @@ -155,11 +155,11 @@ const IDEView = () => {
split="vertical"
defaultSize="50%"
onChange={() => {
setIsOverlayVisible(true);
// setIsOverlayVisible(true);
}}
onDragFinished={() => {
// overlayRef.current.style.display = 'none';
setIsOverlayVisible(false);
// setIsOverlayVisible(false);
}}
resizerStyle={{
borderLeftWidth: '2px',
Expand Down Expand Up @@ -193,7 +193,7 @@ const IDEView = () => {
<div className="preview-frame__content">
<div
className="preview-frame-overlay"
style={{ display: isOverlayVisible ? 'block' : 'none' }}
// style={{ display: isOverlayVisible ? 'block' : 'none' }}
/>
<div>
{((preferences.textOutput || preferences.gridOutput) &&
Expand Down

0 comments on commit 90c3f71

Please sign in to comment.