mirror of
https://github.com/gre/gl-react.git
synced 2026-02-01 17:27:08 +00:00
rollback hidden visibility of content to ensure it is not visible through a non opaque canvas
This commit is contained in:
parent
50d8923219
commit
d40a122313
@ -12,7 +12,8 @@ const renderVcontent = function (width, height, id, children) {
|
|||||||
top: 0,
|
top: 0,
|
||||||
left: 0,
|
left: 0,
|
||||||
width: width+"px",
|
width: width+"px",
|
||||||
height: height+"px"
|
height: height+"px",
|
||||||
|
visibility: "hidden"
|
||||||
};
|
};
|
||||||
return <div key={"content-"+id} style={childrenStyle}>{content}</div>;
|
return <div key={"content-"+id} style={childrenStyle}>{content}</div>;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user