diff options
author | bobzel <zzzman@gmail.com> | 2020-08-06 22:30:36 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-08-06 22:30:36 -0400 |
commit | a1977d1ae00a4f0c3907eb243ba1c04a5acc5c62 (patch) | |
tree | 66bbd9b9b912c30f893c2204716ff8e4f9086019 /src/client/views/MainViewModal.tsx | |
parent | 72b95c76f156a15f645703ba77c05aeb62c903ff (diff) | |
parent | 0910e7387fae485d7c11eb71b6abcce865403b13 (diff) |
Merge branch 'master' into new_audio
Diffstat (limited to 'src/client/views/MainViewModal.tsx')
-rw-r--r-- | src/client/views/MainViewModal.tsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/views/MainViewModal.tsx b/src/client/views/MainViewModal.tsx index 249715511..19387f619 100644 --- a/src/client/views/MainViewModal.tsx +++ b/src/client/views/MainViewModal.tsx @@ -10,7 +10,7 @@ export interface MainViewOverlayProps { overlayStyle?: React.CSSProperties; dialogueBoxDisplayedOpacity?: number; overlayDisplayedOpacity?: number; - closeOnExternalClick?: () => void; + closeOnExternalClick?: () => void; // the close method of a MainViewModal, triggered if there is a click on the overlay (closing the modal) } @observer @@ -21,7 +21,9 @@ export default class MainViewModal extends React.Component<MainViewOverlayProps> const dialogueOpacity = p.dialogueBoxDisplayedOpacity || 1; const overlayOpacity = p.overlayDisplayedOpacity || 0.4; return !p.isDisplayed ? (null) : ( - <div style={{ pointerEvents: p.isDisplayed && p.interactive ? "all" : "none" }}> + <div style={{ + pointerEvents: p.isDisplayed && p.interactive ? "all" : "none" + }}> <div className={"dialogue-box"} style={{ |