UI: Add option to set fractional digits (#2419)

This commit is contained in:
CTN
2025-12-15 20:51:34 +01:00
committed by GitHub
parent c3eb4f9ad6
commit e7768824ba
3 changed files with 23 additions and 1 deletions

View File

@@ -192,6 +192,8 @@ export const Settings = {
useEngineeringNotation: false,
/** Whether to disable suffixes and always use exponential form (scientific or engineering). */
disableSuffixes: false,
/** The default amount of digits displayed after the decimal separator. */
fractionalDigits: 3,
/**
* Player-defined key bindings. Don't use this property directly. It must be merged with DefaultKeyBindings in
* src\utils\KeyBindingUtils.ts.