color picker floating above viewer

This commit is contained in:
ochafik 2023-03-27 01:08:45 +01:00
commit 2ae038020b
9 changed files with 41 additions and 11 deletions

View file

@ -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`;
}