color picker floating above viewer
This commit is contained in:
parent
c95616210b
commit
2ae038020b
9 changed files with 41 additions and 11 deletions
|
|
@ -83,7 +83,7 @@ export function formatBytes(n: number) {
|
|||
|
||||
export function formatMillis(n: number) {
|
||||
if (n < 1000)
|
||||
return `${Math.floor(n)} millis`;
|
||||
return `${Math.floor(n)}ms`;
|
||||
|
||||
return `${Math.floor(n / 100) / 10} sec`;
|
||||
return `${Math.floor(n / 100) / 10}sec`;
|
||||
}
|
||||
Loading…
Reference in a new issue