feat: prevent text selection on dsp sub pages

This commit is contained in:
2026-09-12 15:19:57 +02:00
parent fd545fb2a8
commit 2717dfe99a
15 changed files with 174 additions and 13 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ export interface LinearGraphProps {
const defaultFormat = (v: number) => {
if (Math.abs(v) < 1e-9) return '0';
const abs = Math.abs(v);
if (abs >= 1000 || abs < 0.01) return v.toExponential(1);
if (abs >= 100000 || abs < 0.01) return v.toExponential(1);
return parseFloat(v.toFixed(4)).toString();
};