feat: improve help view
Some checks failed
Deploy to GitHub Pages / build_site (push) Failing after 1m24s
Some checks failed
Deploy to GitHub Pages / build_site (push) Failing after 1m24s
This commit is contained in:
@@ -8,6 +8,13 @@
|
||||
export let max = 1;
|
||||
export let id = "";
|
||||
|
||||
if (min > max) {
|
||||
[min, max] = [max, min];
|
||||
}
|
||||
if (value > max) {
|
||||
max = value;
|
||||
}
|
||||
|
||||
function strip(input: number) {
|
||||
return +parseFloat(input + "").toPrecision(2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user