{someElementIsSelected() && (
<>
@@ -1411,7 +1373,7 @@ class App extends React.Component<{}, AppState> {
};
componentDidUpdate() {
- renderScene(rc, context, {
+ renderScene(rc, canvas, {
scrollX: this.state.scrollX,
scrollY: this.state.scrollY,
viewBackgroundColor: this.state.viewBackgroundColor