From 03b14c769baa40709e33e1ba8c2154f7da7beca0 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Fri, 27 Aug 2021 22:22:07 +0200 Subject: [PATCH] Scale displayed status --- Dashboard/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dashboard/src/App.tsx b/Dashboard/src/App.tsx index 3d092bc..61908e3 100644 --- a/Dashboard/src/App.tsx +++ b/Dashboard/src/App.tsx @@ -84,7 +84,7 @@ const App = () => { increase={sendIncreaseHandler} decrease={sendDecreaseHandler} toggle={sendToggleHandler} - status={status} + status={Math.floor((status / 255) * 100)} />