Skip to content

Commit

Permalink
fixing options menu bug not hiding info
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanrixxh committed Jul 5, 2023
1 parent 7040a47 commit 703dea5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Info.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import '../styles/info.css'

function Info(props) {
return(
<div className="infoSection">
<div className="infoSection" style={{visibility: props.optionsOn ? 'hidden' : 'visible'}}>
<div>
{ props.live === true && <h2 className="loggedDisplay">You are live!</h2> }
{ props.live === false && <h2 className="loggedDisplay">Offline</h2> }
Expand Down
2 changes: 1 addition & 1 deletion src/components/Marker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ function Marker(props) {
}, [props.live])

return(
<div id="markerBackdrop" style={{display: props.optionsOn ? 'hidden' : 'visible'}}>
<div id="markerBackdrop" style={{visibility: props.optionsOn ? 'hidden' : 'visible'}}>
<section className="hotkeySection">
<h1 id="hotkeyTitle" className="heading">Hotkey</h1>
<button className="hotkeyButton modeButton"
Expand Down

0 comments on commit 703dea5

Please sign in to comment.