@pitcher/canvas-ui 2026.1.7-082401-beta → 2026.1.7-084725-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/canvas-ui.js +1 -1
- package/canvas-ui.js.map +1 -1
- package/package.json +1 -1
package/canvas-ui.js
CHANGED
|
@@ -130912,7 +130912,7 @@ const displayIntegerWithMunit = (number, decimals = 2) => {
|
|
|
130912
130912
|
return `${b.toFixed(decimals)}B`;
|
|
130913
130913
|
};
|
|
130914
130914
|
const convertSecondsToMinutes = (number) => {
|
|
130915
|
-
if (number
|
|
130915
|
+
if (number <= 0) return "0 sec";
|
|
130916
130916
|
if (number < 1) return "<1 sec";
|
|
130917
130917
|
const units = [
|
|
130918
130918
|
[60 * 60 * 24, "day"],
|