updated: package-lock.json
This commit is contained in:
@@ -176,6 +176,7 @@ const DEFAULT_SETTINGS = {
|
||||
birthDate: "",
|
||||
tarotDeck: DEFAULT_TAROT_DECK,
|
||||
stellariumBackgroundEnabled: false,
|
||||
detailTextScale: 1,
|
||||
hasExplicitLocation: false
|
||||
};
|
||||
|
||||
@@ -642,6 +643,11 @@ settingsUi.init?.({
|
||||
onSettingsApplied: (settings) => {
|
||||
appRuntime.applySettings?.(settings);
|
||||
currentSettings = settings;
|
||||
const detailTextScale = Number(settings?.detailTextScale);
|
||||
document.documentElement.style.setProperty(
|
||||
"--detail-text-scale",
|
||||
Number.isFinite(detailTextScale) && detailTextScale > 0 ? String(detailTextScale) : "1"
|
||||
);
|
||||
},
|
||||
onSyncSkyBackground: (geo, options) => homeUi.syncNowSkyBackground?.(geo, options),
|
||||
onStatus: (text) => setStatus(text),
|
||||
|
||||
Reference in New Issue
Block a user