Skip to content

Commit

Permalink
update the label names
Browse files Browse the repository at this point in the history
  • Loading branch information
Dou Du committed Sep 11, 2023
1 parent 26a083e commit d7a2755
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/switches.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export default function SwitchLabels(Props: IToggleProps) {
color="primary"
/>
}
label="Sign +"
label="Positive isovalue"
/>
<FormControlLabel
control={
Expand All @@ -140,7 +140,7 @@ export default function SwitchLabels(Props: IToggleProps) {
color="secondary"
/>
}
label="Sign -"
label="Negative isovalue"
/>
</FormGroup>
</Grid>
Expand Down
11 changes: 6 additions & 5 deletions src/widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class CounterWidget extends ReactWidget {
visualizer() {
this.updateDatasource();

this.stage = new NGL.Stage(this.uuid, { backgroundColor: 'black' });
this.stage = new NGL.Stage(this.uuid, { backgroundColor: 'white' });

window.addEventListener(
'resize',
Expand Down Expand Up @@ -219,10 +219,6 @@ export class CounterWidget extends ReactWidget {
}}
/>

<Typography variant="h6" align="center">
Please select structure and Gaussian cube files from current directory
to visualize.
</Typography>

<Grid container spacing={3} justifyContent="center">
<Grid item sm={3}>
Expand Down Expand Up @@ -254,6 +250,11 @@ export class CounterWidget extends ReactWidget {
bclick1={bfunc1}
bclick2={bfunc2}
/>

<Typography variant="h6" align="center">
Please select structure and Gaussian cube files from current directory
to visualize.
</Typography>
</div>
);
}
Expand Down

0 comments on commit d7a2755

Please sign in to comment.