fix(ui): fix readonly inputs

There was a props on IAISlider to make the input component readonly - I didn't know this existed and at some point used a component with that prop as a template for other sliders, copying the flag over.

It's not actually used anywhere, so I removed the prop entirely, enabling the number inputs everywhere.
This commit is contained in:
psychedelicious
2023-07-08 17:16:34 +10:00
parent 2bc99f5b6c
commit e7370e5ef3
8 changed files with 1 additions and 10 deletions

View File

@ -235,7 +235,6 @@ const IAICanvasToolChooserOptions = () => {
withInput
onChange={(newSize) => dispatch(setBrushSize(newSize))}
sliderNumberInputProps={{ max: 500 }}
inputReadOnly={false}
/>
</Flex>
<IAIColorPicker