UI: smaller scale energy limits (#18226)
This commit is contained in:
parent
ae853058c8
commit
961968e5b3
1 changed files with 1 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import { POWER_UNIT } from "../mixins/formatter";
|
||||
|
||||
export function optionStep(maxEnergy) {
|
||||
if (maxEnergy < 0.1) return 0.005;
|
||||
if (maxEnergy < 1) return 0.05;
|
||||
if (maxEnergy < 2) return 0.1;
|
||||
if (maxEnergy < 5) return 0.25;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue