This commit is contained in:
Nikhil Jha committed 2019-01-28 17:07:43 -08:00
1 parent 9da0937ebb
commit aaa8fd20e4
4 files changed
+1 -15

No files matched your search

-2
View File
@@ -78,7 +78,6 @@ const GUIComponent = props => {
costumeLibraryVisible,
costumesTabVisible,
enableCommunity,
importInfoVisible,
intl,
isCreating,
isFullScreen,
@@ -370,7 +369,6 @@ GUIComponent.propTypes = {
costumeLibraryVisible: PropTypes.bool,
costumesTabVisible: PropTypes.bool,
enableCommunity: PropTypes.bool,
importInfoVisible: PropTypes.bool,
intl: intlShape.isRequired,
isCreating: PropTypes.bool,
isFullScreen: PropTypes.bool,
-2
View File
@@ -119,7 +119,6 @@ GUI.propTypes = {
cloudHost: PropTypes.string,
error: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
fetchingProject: PropTypes.bool,
importInfoVisible: PropTypes.bool,
intl: intlShape,
isError: PropTypes.bool,
isLoading: PropTypes.bool,
@@ -158,7 +157,6 @@ const mapStateToProps = state => {
costumeLibraryVisible: state.scratchGui.modals.costumeLibrary,
costumesTabVisible: state.scratchGui.editorTab.activeTabIndex === COSTUMES_TAB_INDEX,
error: state.scratchGui.projectState.error,
importInfoVisible: state.scratchGui.modals.importInfo,
isError: getIsError(loadingState),
isFullScreen: state.scratchGui.mode.isFullScreen,
isPlayerOnly: state.scratchGui.mode.isPlayerOnly,
+1 -1
View File
@@ -113,7 +113,7 @@ const AppStateHOC = function (WrappedComponent, localesOnly) {
}
AppStateWrapper.propTypes = {
isFullScreen: PropTypes.bool,
isPlayerOnly: PropTypes.bool,
isPlayerOnly: PropTypes.bool
};
return AppStateWrapper;
};
-10
View File
@@ -5,7 +5,6 @@ const MODAL_BACKDROP_LIBRARY = 'backdropLibrary';
const MODAL_CAMERA_CAPTURE = 'cameraCapture';
const MODAL_COSTUME_LIBRARY = 'costumeLibrary';
const MODAL_EXTENSION_LIBRARY = 'extensionLibrary';
const MODAL_IMPORT_INFO = 'importInfo';
const MODAL_LOADING_PROJECT = 'loadingProject';
const MODAL_TELEMETRY = 'telemetryModal';
const MODAL_SOUND_LIBRARY = 'soundLibrary';
@@ -19,7 +18,6 @@ const initialState = {
[MODAL_CAMERA_CAPTURE]: false,
[MODAL_COSTUME_LIBRARY]: false,
[MODAL_EXTENSION_LIBRARY]: false,
[MODAL_IMPORT_INFO]: false,
[MODAL_LOADING_PROJECT]: false,
[MODAL_TELEMETRY]: false,
[MODAL_SOUND_LIBRARY]: false,
@@ -68,9 +66,6 @@ const openCostumeLibrary = function () {
const openExtensionLibrary = function () {
return openModal(MODAL_EXTENSION_LIBRARY);
};
const openImportInfo = function () {
return openModal(MODAL_IMPORT_INFO);
};
const openLoadingProject = function () {
return openModal(MODAL_LOADING_PROJECT);
};
@@ -104,9 +99,6 @@ const closeCostumeLibrary = function () {
const closeExtensionLibrary = function () {
return closeModal(MODAL_EXTENSION_LIBRARY);
};
const closeImportInfo = function () {
return closeModal(MODAL_IMPORT_INFO);
};
const closeLoadingProject = function () {
return closeModal(MODAL_LOADING_PROJECT);
};
@@ -135,7 +127,6 @@ export {
openCameraCapture,
openCostumeLibrary,
openExtensionLibrary,
openImportInfo,
openLoadingProject,
openSoundLibrary,
openSpriteLibrary,
@@ -147,7 +138,6 @@ export {
closeCameraCapture,
closeCostumeLibrary,
closeExtensionLibrary,
closeImportInfo,
closeLoadingProject,
closeSpriteLibrary,
closeSoundLibrary,