Implemented shutdown through UI and implemented router check

This commit is contained in:
2025-11-28 10:23:57 +01:00
parent 368f60d7b6
commit b2c5d08ff4
29 changed files with 639 additions and 71 deletions

View File

@@ -180,7 +180,10 @@ export class UnityWebSocket {
return {
...slider,
decimalPlaces:
slider.min == 0 && slider.max == 1 ? 2 : null,
(slider.min == 0 || slider.min == -1) &&
slider.max == 1
? 2
: null,
};
}
);
@@ -189,7 +192,10 @@ export class UnityWebSocket {
return {
...slider,
decimalPlaces:
slider.min == 0 && slider.max == 1 ? 2 : null,
(slider.min == 0 || slider.min == -1) &&
slider.max == 1
? 2
: null,
};
});