CORPORATION: Update tooltip of storage space (#1237)

The tooltip of the storage space only shows sizes of materials/products. This is confusing for newbies. They use "Unit" (number of material/product units) when buying materials, but that tooltip only shows sizes without any description.
This commit is contained in:
catloversg
2024-05-09 06:29:03 +07:00
committed by GitHub
parent bc71b8e18f
commit 6a1691fe54
5 changed files with 30 additions and 16 deletions
+2 -2
View File
@@ -179,8 +179,8 @@ export const formatRespect = (n: number) => formatNumber(n, 5);
export const formatWanted = formatRespect;
export const formatPreciseMultiplier = formatRespect;
/** Format a number with no suffix and 1 fractional digit. */
export const formatMaterialSize = (n: number) => formatNumberNoSuffix(n, 1);
/** Format a number with 3 fractional digits. */
export const formatMaterialSize = (n: number) => formatNumber(n, 3);
/** Format a number with no suffix and 2 fractional digits. */
export const formatMultiplier = (n: number) => formatNumberNoSuffix(n, 2);