Skip to content

Commit

Permalink
learp color bar
Browse files Browse the repository at this point in the history
  • Loading branch information
kistenklaus committed Jul 18, 2024
1 parent 9a75bc8 commit 68ef1da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/overview/ColorBar.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
border-radius: 5px;
background-color: var(--color);
width: var(--width);
transition: width ease-out 250ms;
height: 2.5em;
}
2 changes: 1 addition & 1 deletion src/overview/VoltagesValues.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function Entry({ label, nodeName, objectEntryName, min, max }: Readonly<EntryPro
bar.style.setProperty("--width", `0%`);
}

}, []);
}, [value]);

return (
<Paper id={label} sx={{
Expand Down

0 comments on commit 68ef1da

Please sign in to comment.