@lvce-editor/status-bar-worker 3.35.1 → 3.35.2
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.
|
@@ -2454,7 +2454,7 @@ const fontSize$1 = 12;
|
|
|
2454
2454
|
const fontFamily$1 = 'system-ui, Ubuntu, Droid Sans, sans-serif';
|
|
2455
2455
|
const getCacheKey = text => {
|
|
2456
2456
|
const parameters = [text, 400, fontSize$1, fontFamily$1, 0, false, 0];
|
|
2457
|
-
return
|
|
2457
|
+
return `https://cache.invalid/status-bar-measurements/v1/${encodeURIComponent(JSON.stringify(parameters))}`;
|
|
2458
2458
|
};
|
|
2459
2459
|
const isValidWidth = value => {
|
|
2460
2460
|
return typeof value === 'number' && Number.isFinite(value) && value >= 0;
|