aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkimdahey <claire_kim1@brown.edu>2019-09-15 16:54:23 -0400
committerkimdahey <claire_kim1@brown.edu>2019-09-15 16:54:23 -0400
commitb32a325b0bf17906a9ba062548b89899ac400659 (patch)
tree4782e01bc60c03e10b6f0c56a41650ec1c5b15c4 /src
parentab43ba2fb3cd907f4e8eb9d612f86ccd8b11d773 (diff)
scss
Diffstat (limited to 'src')
-rw-r--r--src/client/views/webcam/DashWebCam.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/webcam/DashWebCam.tsx b/src/client/views/webcam/DashWebCam.tsx
index 4c78e5105..210b22958 100644
--- a/src/client/views/webcam/DashWebCam.tsx
+++ b/src/client/views/webcam/DashWebCam.tsx
@@ -5,6 +5,8 @@ import { observable, action } from "mobx";
import { DocumentDecorations } from "../DocumentDecorations";
import { InkingControl } from "../InkingControl";
import { CollectionFreeFormDocumentViewProps } from "../nodes/CollectionFreeFormDocumentView";
+import "../../views/nodes/WebBox.scss";
+
//https://github.com/mozmorris/react-webcam is the source code used for the bigger part of this implementation. It's only modified to fit our current system.
@@ -364,7 +366,7 @@ export class DashWebCam extends React.Component<CollectionFreeFormDocumentViewPr
let content =
- <div className="webcam-cont" style={{ width: "100%", height: "100%", position: "absolute" }} onWheel={this.onPostWheel} onPointerDown={this.onPostPointer} onPointerMove={this.onPostPointer} onPointerUp={this.onPostPointer}>
+ <div className="webcam-cont" style={{ width: "100%", height: "100%" }} onWheel={this.onPostWheel} onPointerDown={this.onPostPointer} onPointerMove={this.onPostPointer} onPointerUp={this.onPostPointer}>
<video
autoPlay
src={state.src}