Guillaume-Docquier / guillaume-docquier.github.io

MIT License
5 stars 7 forks source link

Material Count Display Goes Beyond Display Area #43

Closed Piskieee closed 3 years ago

Piskieee commented 3 years ago

With the addition of Stonemasonry recipes the current numerical visual is no longer adequate due to the sheer number of materials. Needs to be adjusted to display more clearly.

Suggestions:

Guillaume-Docquier commented 3 years ago

I tweaked the display today before seeing your suggestions. When the quantity goes over 10,000 (5 digits), I use 'K' for thousands or 'M' for millions and keep 1 decimal place when the decimal is not 0. This sometimes causes a loss in precision, but I mitigated this by adding the real quantity when you hover the item. Also, when reaching such high numbers, I deemed the rounding error acceptable (~0-10%)