diff --git a/app/pages/PageEnigma/comps/ControlsTopButtons/ControlsTopButtons.tsx b/app/pages/PageEnigma/comps/ControlsTopButtons/ControlsTopButtons.tsx index 02a95bc58d..35e95435ab 100644 --- a/app/pages/PageEnigma/comps/ControlsTopButtons/ControlsTopButtons.tsx +++ b/app/pages/PageEnigma/comps/ControlsTopButtons/ControlsTopButtons.tsx @@ -22,24 +22,26 @@ export const ControlsTopButtons = () => { }; const handleButtonTest = () => { - if(appUiState?.showEditorLoadingBar.isShowing){ - //TO GO TO A HUNDRED AND DISAPPER - dispatchAppUiState({ - type: APPUI_ACTION_TYPES.UPDATE_EDITOR_LOADINGBAR, - payload:{ - showEditorLoadingBar: { - progress: 100, - } - } - }); - setTimeout(() => { - dispatchAppUiState({ - type: APPUI_ACTION_TYPES.HIDE_EDITOR_LOADINGBAR, - }); - }, 1000); - //END :TO GO TO A HUNDRED AND DISAPPER + editorEngine?.testStylizeRequest() + + // if(appUiState?.showEditorLoadingBar.isShowing){ + //TO GO TO A HUNDRED AND DISAPPER + // dispatchAppUiState({ + // type: APPUI_ACTION_TYPES.UPDATE_EDITOR_LOADINGBAR, + // payload:{ + // showEditorLoadingBar: { + // progress: 100, + // } + // } + // }); + // setTimeout(() => { + // dispatchAppUiState({ + // type: APPUI_ACTION_TYPES.HIDE_EDITOR_LOADINGBAR, + // }); + // }, 1000); + //END :TO GO TO A HUNDRED AND DISAPPER - //EAMPLE OF CHANING LOADING MESSAGE + //EAMPLE OF CHANING LOADING MESSAGE // dispatchAppUiState({ // type: APPUI_ACTION_TYPES.UPDATE_EDITOR_LOADINGBAR, // payload:{ @@ -48,18 +50,18 @@ export const ControlsTopButtons = () => { // } // } // }); - }else{ - dispatchAppUiState({ - type: APPUI_ACTION_TYPES.SHOW_EDITOR_LOADINGBAR, - payload:{ - showEditorLoadingBar: { - message: 'display of LoadingBar triggered by Test Button', - progress: 10, - } - } + // }else{ + // dispatchAppUiState({ + // type: APPUI_ACTION_TYPES.SHOW_EDITOR_LOADINGBAR, + // payload:{ + // showEditorLoadingBar: { + // message: 'display of LoadingBar triggered by Test Button', + // progress: 10, + // } + // } - }); - } + // }); + //} }; const handleObjectPanelTest = () => { @@ -97,7 +99,9 @@ export const ControlsTopButtons = () => { editorEngine?.take_timeline_cam_clip(); }; - const handleButtonLoad = () => {}; + const handleButtonLoad = () => { + console.log("LOADING"); + }; return (