Merge pull request #13947 from Chiirno/ChemmasterOutputFix
Chemmaster output buff
This commit is contained in:
@@ -257,9 +257,9 @@
|
||||
var/amount = text2num(params["amount"])
|
||||
if(amount == null)
|
||||
amount = text2num(input(usr,
|
||||
"Max 10. Buffer content will be split evenly.",
|
||||
"Max 20. Buffer content will be split evenly.",
|
||||
"How many to make?", 1))
|
||||
amount = clamp(round(amount), 0, 10)
|
||||
amount = clamp(round(amount), 0, 20)
|
||||
if (amount <= 0)
|
||||
return FALSE
|
||||
// Get units per item
|
||||
|
||||
@@ -205,7 +205,7 @@ const PackagingControlsItem = props => {
|
||||
stepPixelSize={15}
|
||||
value={amount}
|
||||
minValue={1}
|
||||
maxValue={10}
|
||||
maxValue={20}
|
||||
onChange={onChangeAmount} />
|
||||
<Button
|
||||
ml={1}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user