美文网首页
scratch-gui->State->scratchGui--

scratch-gui->State->scratchGui--

作者: hanxianshe_9530 | 来源:发表于2019-10-29 11:43 被阅读0次
    {
      scratchGui: {
        alerts: {
          visible: true,
          alertsList: []
        },
        assetDrag: {
          dragging: false,
          currentOffset: null,
          img: null
        },
        blockDrag: false,
        cards: {
          ...
        },
        colorPicker: {
          active: false
        },
        connectionModal: {
          extensionId: null
        },
        customProcedures: {
          active: false,
          mutator: null,
          callback: null
        },
        editorTab: {
          activeTabIndex: 0
        },
        mode: {
          showBranding: false,
          isFullScreen: false,
          isPlayerOnly: false,
          hasEverEnteredEditor: true
        },
        hoveredTarget: {
          sprite: null,
          receivedBlocks: false
        },
        stageSize: {
          stageSize: 'large'
        },
        menus: {
          accountMenu: false,
          fileMenu: false,
          editMenu: false,
          languageMenu: false,
          loginMenu: false
        },
        micIndicator: false,
        modals: {
          backdropLibrary: false,
          cameraCapture: false,
          costumeLibrary: false,
          extensionLibrary: false,
          loadingProject: false,
          telemetryModal: false,
          soundLibrary: false,
          spriteLibrary: false,
          soundRecorder: false,
          connectionModal: false,
          tipsLibrary: false
        },
        monitors: {},
        monitorLayout: {
          monitors: {},
          savedMonitorPositions: {}
        },
        projectChanged: false,
        projectState: {
          error: null,
          projectData: '',
          projectId: '0',
          loadingState: 'SHOWING_WITHOUT_ID'
        },
        projectTitle: 'Scratch作品',
        fontsLoaded: true,
        restoreDeletion: {
          restoreFun: null,
          deletedItem: ''
        },
        targets: {
          ...
        },
        timeout: {
          autoSaveTimeoutId: null
        },
        toolbox: {
          toolboxXML: ''
        },
        vm: '',
        vmStatus: {
          running: false,
          started: true,
          turbo: false
        }
      }
    }
    

    相关文章

      网友评论

          本文标题:scratch-gui->State->scratchGui--

          本文链接:https://www.haomeiwen.com/subject/prvwvctx.html