Update CI and cube projections
Some checks failed
Deploy to Production / deploy (push) Failing after 5s

This commit is contained in:
2026-02-22 19:23:25 +00:00
parent d536290e5d
commit c4b78ad7b7
3 changed files with 106 additions and 3 deletions

View File

@@ -0,0 +1,25 @@
import { ref } from 'vue';
let initialShowProjections = false;
try {
const stored = localStorage.getItem('showProjections');
if (stored !== null) {
initialShowProjections = stored === 'true';
}
} catch (e) {}
const showProjections = ref(initialShowProjections);
export function useSettings() {
const toggleProjections = () => {
showProjections.value = !showProjections.value;
try {
localStorage.setItem('showProjections', String(showProjections.value));
} catch (e) {}
};
return {
showProjections,
toggleProjections
};
}