diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-12-14 04:45:38 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-12-14 04:45:38 +0800 |
commit | 33c6e40b7026858be52f804c726b9a1ef41647d3 (patch) | |
tree | cd7b796c499f1e652cb2db550b67849eade6da1b /packages/instant/src/components/scaling_amount_input.tsx | |
parent | 6e54514013702fa8ca9a6b69c04f4d2468cd8b66 (diff) | |
download | dexon-sol-tools-33c6e40b7026858be52f804c726b9a1ef41647d3.tar dexon-sol-tools-33c6e40b7026858be52f804c726b9a1ef41647d3.tar.gz dexon-sol-tools-33c6e40b7026858be52f804c726b9a1ef41647d3.tar.bz2 dexon-sol-tools-33c6e40b7026858be52f804c726b9a1ef41647d3.tar.lz dexon-sol-tools-33c6e40b7026858be52f804c726b9a1ef41647d3.tar.xz dexon-sol-tools-33c6e40b7026858be52f804c726b9a1ef41647d3.tar.zst dexon-sol-tools-33c6e40b7026858be52f804c726b9a1ef41647d3.zip |
simplify scaling input logic
Diffstat (limited to 'packages/instant/src/components/scaling_amount_input.tsx')
-rw-r--r-- | packages/instant/src/components/scaling_amount_input.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/instant/src/components/scaling_amount_input.tsx b/packages/instant/src/components/scaling_amount_input.tsx index 86aca5a65..4feb0502d 100644 --- a/packages/instant/src/components/scaling_amount_input.tsx +++ b/packages/instant/src/components/scaling_amount_input.tsx @@ -58,6 +58,7 @@ export class ScalingAmountInput extends React.Component<ScalingAmountInputProps, const { textLengthThreshold, fontColor, maxFontSizePx, onFontSizeChange } = this.props; return ( <ScalingInput + type="number" maxFontSizePx={maxFontSizePx} textLengthThreshold={textLengthThreshold} onFontSizeChange={onFontSizeChange} |