math.round font size

This commit is contained in:
hamid zarghami
2026-04-30 12:32:39 +03:30
parent cd495fe6ad
commit c05bcdaa48
@@ -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);