chore: remove projections toggle and bump to 0.1.0
All checks were successful
Deploy to Production / deploy (push) Successful in 10s

This commit is contained in:
2026-02-22 21:11:42 +00:00
parent 86c4a18851
commit 3261aea81d
4 changed files with 5 additions and 178 deletions

View File

@@ -1,15 +1,5 @@
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);
let initialCubeTranslucent = false;
try {
const stored = localStorage.getItem('cubeTranslucent');
@@ -21,13 +11,6 @@ try {
const isCubeTranslucent = ref(initialCubeTranslucent);
export function useSettings() {
const toggleProjections = () => {
showProjections.value = !showProjections.value;
try {
localStorage.setItem('showProjections', String(showProjections.value));
} catch (e) {}
};
const toggleCubeTranslucent = () => {
isCubeTranslucent.value = !isCubeTranslucent.value;
try {
@@ -36,8 +19,6 @@ export function useSettings() {
};
return {
showProjections,
toggleProjections,
isCubeTranslucent,
toggleCubeTranslucent
};