Skip to content

Commit

Permalink
fix(RodEditor): Allow for non-integer lengths
Browse files Browse the repository at this point in the history
  • Loading branch information
floryst committed May 1, 2018
1 parent 813631e commit 3fa9fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simput/RodEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export default class RodEditor extends React.Component {
<input
type="number"
min="0"
step="1"
step="any"
value={layer.length}
onChange={(e) => this.onLengthChange(layer, e.target.value)}
/>
Expand Down

0 comments on commit 3fa9fba

Please sign in to comment.