fix: 非单次容量时滴数四舍五入为整数 #8
Reference in New Issue
Block a user
Delete Branch "fix/volume-rounding"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
关联 Issue #6。
变更内容
VOLUME_DROPS新增单次选项(值为null,不做缩放)scaleIngredients()工具函数:按选定容量等比缩放各成分滴数,非单次时用Math.round()取整默认容量改为「单次」,展示配方原始滴数;切换到其他容量后,所有滴数按比例放大并四舍五入为整数。
Pull request closed