diff options
Diffstat (limited to 'src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx')
-rw-r--r-- | src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx b/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx index 2c06282ed..cd1ff17dd 100644 --- a/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx +++ b/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx @@ -1,11 +1,11 @@ -// import ArrowLeftIcon from '@mui/icons-material/ArrowLeft'; -// import ArrowRightIcon from '@mui/icons-material/ArrowRight'; -// import PauseIcon from '@mui/icons-material/Pause'; -// import PlayArrowIcon from '@mui/icons-material/PlayArrow'; -// import QuestionMarkIcon from '@mui/icons-material/QuestionMark'; -// import ReplayIcon from '@mui/icons-material/Replay'; -// import { Box, Button, Checkbox, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, FormControl, FormControlLabel, FormGroup, IconButton, LinearProgress, Stack } from '@mui/material'; -// import Typography from '@mui/material/Typography'; +import ArrowLeftIcon from '@mui/icons-material/ArrowLeft'; +import ArrowRightIcon from '@mui/icons-material/ArrowRight'; +import PauseIcon from '@mui/icons-material/Pause'; +import PlayArrowIcon from '@mui/icons-material/PlayArrow'; +import QuestionMarkIcon from '@mui/icons-material/QuestionMark'; +import ReplayIcon from '@mui/icons-material/Replay'; +import { Box, Button, Checkbox, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, FormControl, FormControlLabel, FormGroup, IconButton, LinearProgress, Stack } from '@mui/material'; +import Typography from '@mui/material/Typography'; import { action, computed, IReactionDisposer, observable, reaction } from 'mobx'; import { observer } from 'mobx-react'; import { NumListCast } from '../../../../fields/Doc'; @@ -928,12 +928,12 @@ export class PhysicsSimulationBox extends ViewBoxAnnotatableComponent<FieldViewP <Stack direction="row" spacing={1}> {this.dataDoc.simulation_paused && this.simulationMode != 'Tutorial' && ( <IconButton onClick={() => (this.dataDoc.simulation_paused = false)}> - {/* <PlayArrowIcon /> */} + <PlayArrowIcon /> </IconButton> )} {!this.dataDoc.simulation_paused && this.simulationMode != 'Tutorial' && ( <IconButton onClick={() => (this.dataDoc.simulation_paused = true)}> - {/* <PauseIcon /> */} + <PauseIcon /> </IconButton> )} {this.dataDoc.simulation_paused && this.simulationMode != 'Tutorial' && ( @@ -1180,7 +1180,7 @@ export class PhysicsSimulationBox extends ViewBoxAnnotatableComponent<FieldViewP this.dataDoc.simulation_showForceMagnitudes = this.tutorial.steps[step].showMagnitude; }} disabled={this.dataDoc.tutorial_stepNumber == 0}> - {/* <ArrowLeftIcon /> */} + <ArrowLeftIcon /> </IconButton> <div> <h3> @@ -1199,7 +1199,7 @@ export class PhysicsSimulationBox extends ViewBoxAnnotatableComponent<FieldViewP this.dataDoc.simulation_showForceMagnitudes = this.tutorial.steps[step].showMagnitude; }} disabled={this.dataDoc.tutorial_stepNumber === this.tutorial.steps.length - 1}> - {/* <ArrowRightIcon /> */} + <ArrowRightIcon /> </IconButton> </div> <div> |