Skip to content

Commit

Permalink
UI: smaller scale energy limits (#18226)
Browse files Browse the repository at this point in the history
  • Loading branch information
naltatis authored Jan 14, 2025
1 parent ae85305 commit 961968e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/js/utils/energyOptions.js
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 961968e

Please sign in to comment.