minor fixes
This commit is contained in:
parent
a89f9b8141
commit
9d605b3772
|
|
@ -4,7 +4,7 @@
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite --host 0.0.0.0",
|
||||||
"build": "tsc -b && vite build",
|
"build": "tsc -b && vite build",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ export class Root {
|
||||||
public resources: ResourceSet = new ResourceSet();
|
public resources: ResourceSet = new ResourceSet();
|
||||||
public generators: ResourceGenerator[] = [];
|
public generators: ResourceGenerator[] = [];
|
||||||
|
|
||||||
public readonly availableNotationNames: string[] = Object.keys(Presets).filter((n: any) => !!(Presets as any)[n].name);
|
public readonly availableNotationNames: string[] = Object.keys(Presets).filter((n: any) => !!(Presets as any)[n].name).sort();
|
||||||
public numberNotationName: keyof typeof Presets = 'Standard';
|
public numberNotationName: keyof typeof Presets = 'Standard';
|
||||||
public numberNotation: Notation = Presets.Standard;
|
public numberNotation: Notation = Presets.Standard;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue