Skip to content

Commit

Permalink
fix(gui): capitalize tile order options
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Feb 12, 2023
1 parent ffbe092 commit 6a6f482
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gui/src/components/tab/Inpaint.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { doesExist, mustExist } from '@apextoaster/js-utils';
import { Box, Button, FormControl, FormControlLabel, InputLabel, MenuItem, Select, Stack } from '@mui/material';
import { capitalize } from 'lodash';
import * as React from 'react';
import { useContext } from 'react';
import { useMutation, useQuery, useQueryClient } from 'react-query';
Expand Down Expand Up @@ -163,7 +164,7 @@ export function Inpaint() {
}}
>
{params.tileOrder.keys.map((name) =>
<MenuItem key={name} value={name}>{name.toLocaleUpperCase()}</MenuItem>)
<MenuItem key={name} value={name}>{capitalize(name)}</MenuItem>)
}
</Select>
</FormControl>
Expand Down

0 comments on commit 6a6f482

Please sign in to comment.