aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/MainViewModal.tsx
diff options
context:
space:
mode:
authorkimdahey <claire_kim1@brown.edu>2019-12-03 16:32:13 -0500
committerkimdahey <claire_kim1@brown.edu>2019-12-03 16:32:13 -0500
commit70583fa47bd9920d1823d381708c81283534d6ce (patch)
tree5c81976813436852403ea352797efe1d518dbb1a /src/client/views/MainViewModal.tsx
parent56b83d89f37a5523ab319977e3385f539ecaf996 (diff)
parent213962406327cc2f7267064f3016fabf0fd16872 (diff)
merged w master
Diffstat (limited to 'src/client/views/MainViewModal.tsx')
-rw-r--r--src/client/views/MainViewModal.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/MainViewModal.tsx b/src/client/views/MainViewModal.tsx
index 221a0260a..9198fe3e3 100644
--- a/src/client/views/MainViewModal.tsx
+++ b/src/client/views/MainViewModal.tsx
@@ -14,9 +14,9 @@ export interface MainViewOverlayProps {
export default class MainViewModal extends React.Component<MainViewOverlayProps> {
render() {
- let p = this.props;
- let dialogueOpacity = p.dialogueBoxDisplayedOpacity || 1;
- let overlayOpacity = p.overlayDisplayedOpacity || 0.4;
+ const p = this.props;
+ const dialogueOpacity = p.dialogueBoxDisplayedOpacity || 1;
+ const overlayOpacity = p.overlayDisplayedOpacity || 0.4;
return !p.isDisplayed ? (null) : (
<div style={{ pointerEvents: p.isDisplayed ? p.interactive ? "all" : "none" : "none" }}>
<div