git add clock basic renderer
This commit is contained in:
@@ -2,6 +2,7 @@ div.main-canvas {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba($color: #000000, $alpha: .9);
|
||||
|
||||
div.canvas {
|
||||
width: 100%;
|
||||
|
||||
@@ -23,7 +23,7 @@ class Laboratory extends Component {
|
||||
const canvas = document.createElement("canvas");
|
||||
|
||||
const renderer = new ClassicRenderer(canvas, {
|
||||
clasName: "canvas"
|
||||
className: "canvas"
|
||||
});
|
||||
|
||||
console.log(renderer);
|
||||
|
||||
Reference in New Issue
Block a user