rix1 / 46brew

A friendly coffee brew helper based on the 4:6 brew method
https://46brew.rix1.now.sh
MIT License
6 stars 1 forks source link

Disallow negative amounts of grams #15

Closed rexxars closed 4 years ago

rexxars commented 4 years ago

Doesn't really make sense to allow negative number of grams, I assume.

vercel[bot] commented 4 years ago

This pull request is being automatically deployed with Vercel (learn more). To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/rix1/46brew/j5o1ckctz ✅ Preview: https://46brew-git-fork-rexxars-no-negative-grams.rix1.now.sh

rexxars commented 4 years ago

Nice! Thank you so much 🙌

I was thinking if we should add this to <ResetScaleStep /> as well, but I guess someone might want to use a negative tare weight? 🤔

Yeah, theoretically you could be removing something from the scale that puts in into the negatives, I suppose?