@@ -55,42 +60,35 @@ const MobileSketchView = (props) => {
Hello
- {/* {selectedFile.name}
*/}
+
-
- {/*
-
setOverlay('preferences')}>
-
-
-
setOverlay('runSketch')}>
-
-
-
*/}
Hello
-
- }
- fullView
- isPlaying
- isAccessibleOutputPlaying={false}
- textOutput={false}
- gridOutput={false}
- soundOutput={false}
- dispatchConsoleEvent={noop}
- endSketchRefresh={noop}
- previewIsRefreshing={false}
- setBlobUrl={noop}
- stopSketch={noop}
- expandConsole={noop}
- clearConsole={noop}
- />
+
+
+ }
+ isAccessibleOutputPlaying={false}
+ textOutput={false}
+ gridOutput={false}
+ soundOutput={false}
+ previewIsRefreshing={false}
+
+ dispatchConsoleEvent={noop}
+ endSketchRefresh={noop}
+ setBlobUrl={noop}
+ stopSketch={noop}
+ expandConsole={noop}
+ clearConsole={noop}
+ />
+
);
};
@@ -121,6 +119,7 @@ MobileSketchView.propTypes = {
name: PropTypes.string.isRequired
})).isRequired,
getProject: PropTypes.func.isRequired,
+ startSketch: PropTypes.func.isRequired,
};
function mapStateToProps(state) {
@@ -134,7 +133,7 @@ function mapStateToProps(state) {
}
function mapDispatchToProps(dispatch) {
- return bindActionCreators(ProjectActions, dispatch);
+ return bindActionCreators({ ...ProjectActions, ...IDEActions }, dispatch);
}
export default connect(mapStateToProps, mapDispatchToProps)(MobileSketchView);