@@ -18,6 +18,7 @@ import {
18
18
setSessionDetails ,
19
19
setSharedbConnected
20
20
} from 'src/commons/collabEditing/CollabEditingActions' ;
21
+ import { ControlBarExecutionTime } from 'src/commons/controlBar/ControlBarExecutionTime' ;
21
22
import makeCseMachineTabFrom from 'src/commons/sideContent/content/SideContentCseMachine' ;
22
23
import makeDataVisualizerTabFrom from 'src/commons/sideContent/content/SideContentDataVisualizer' ;
23
24
import makeHtmlDisplayTabFrom from 'src/commons/sideContent/content/SideContentHtmlDisplay' ;
@@ -49,6 +50,7 @@ import {
49
50
import {
50
51
getDefaultFilePath ,
51
52
getLanguageConfig ,
53
+ isCseVariant ,
52
54
isSourceLanguage ,
53
55
OverallState ,
54
56
ResultOutput ,
@@ -59,7 +61,6 @@ import { ControlBarAutorunButtons } from '../../commons/controlBar/ControlBarAut
59
61
import { ControlBarChapterSelect } from '../../commons/controlBar/ControlBarChapterSelect' ;
60
62
import { ControlBarClearButton } from '../../commons/controlBar/ControlBarClearButton' ;
61
63
import { ControlBarEvalButton } from '../../commons/controlBar/ControlBarEvalButton' ;
62
- import { ControlBarExecutionTime } from '../../commons/controlBar/ControlBarExecutionTime' ;
63
64
import { ControlBarGoogleDriveButtons } from '../../commons/controlBar/ControlBarGoogleDriveButtons' ;
64
65
import { ControlBarSessionButtons } from '../../commons/controlBar/ControlBarSessionButton' ;
65
66
import { ControlBarShareButton } from '../../commons/controlBar/ControlBarShareButton' ;
@@ -210,8 +211,8 @@ const Playground: React.FC<PlaygroundProps> = props => {
210
211
editorTabs,
211
212
editorSessionId,
212
213
sessionDetails,
213
- execTime,
214
214
stepLimit,
215
+ execTime,
215
216
isEditorAutorun,
216
217
isRunning,
217
218
isDebugging,
@@ -977,11 +978,11 @@ const Playground: React.FC<PlaygroundProps> = props => {
977
978
languageConfig . supports . multiFile ? toggleFolderModeButton : null ,
978
979
persistenceButtons ,
979
980
githubButtons ,
980
- usingRemoteExecution || ! isSourceLanguage ( languageConfig . chapter )
981
- ? null
982
- : usingSubst || usingCse
983
- ? stepperStepLimit
984
- : executionTime
981
+ usingSubst || usingCse || isCseVariant ( languageConfig . variant )
982
+ ? stepperStepLimit
983
+ : isSourceLanguage ( languageConfig . chapter )
984
+ ? executionTime
985
+ : null
985
986
]
986
987
} ,
987
988
editorContainerProps : editorContainerProps ,
0 commit comments