feat(settings/user/color): implement basic color picker without animations
This commit is contained in:
@@ -4,6 +4,8 @@ import OptionsStartUp from "./Options/StartUp.vue";
|
||||
import OptionsLanguage from "./Options/Language.vue";
|
||||
import OptionsGbaMode from "./Options/GbaMode.vue";
|
||||
|
||||
import UserColor from "./User/Color.vue";
|
||||
|
||||
import ClockMenu from "./Clock/Menu.vue";
|
||||
import UserMenu from "./User/Menu.vue";
|
||||
import TouchScreenMenu from "./TouchScreen/Menu.vue";
|
||||
@@ -113,6 +115,7 @@ const { selectedButton: selected, selectorPosition } = useButtonNavigation({
|
||||
left: "user",
|
||||
},
|
||||
},
|
||||
disabled: computed(() => settingsStore.currentSubMenu !== null),
|
||||
});
|
||||
|
||||
const isSubmenu = (buttonName: string) => {
|
||||
@@ -170,6 +173,8 @@ const viewComponents: Record<string, Component> = {
|
||||
optionsStartUp: OptionsStartUp,
|
||||
optionsLanguage: OptionsLanguage,
|
||||
optionsGbaMode: OptionsGbaMode,
|
||||
|
||||
userColor: UserColor,
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user