math.round font size
This commit is contained in:
@@ -118,7 +118,7 @@ const TextInstruction: FC = () => {
|
||||
<Input
|
||||
type="number"
|
||||
label="سایز"
|
||||
value={formState.fontSize}
|
||||
value={Math.round(formState.fontSize)}
|
||||
onChange={(e) => {
|
||||
const numValue = parseInt(e.target.value) || 0;
|
||||
handleChange("fontSize", numValue);
|
||||
|
||||
Reference in New Issue
Block a user