diff --git a/src/GLCanvas.js b/src/GLCanvas.js index cffcb18..1528c8b 100644 --- a/src/GLCanvas.js +++ b/src/GLCanvas.js @@ -80,7 +80,8 @@ class GLCanvas extends Component { width: width+"px", height: height+"px", [pointerEventsProperty]: eventsThrough ? "none" : "auto", - position: "relative" + position: "relative", + background: opaque ? "#000" : "transparent" }; return