feat(credits): add in both nds and repo
This commit is contained in:
@@ -13,13 +13,12 @@ const { selected, pressed, selectorPosition } = useButtonNavigation({
|
||||
contact: [31, 71, 97, 49],
|
||||
gallery: [127, 71, 97, 49],
|
||||
|
||||
theme: [0, 167, 31, 26],
|
||||
credits: [0, 167, 31, 26],
|
||||
settings: [112, 167, 31, 26],
|
||||
achievements: [225, 167, 31, 26],
|
||||
},
|
||||
initialButton: store.selectedButton,
|
||||
onActivate: (button) => {
|
||||
if (button === "theme") throw new Error(`Not implemented: ${button}`);
|
||||
store.animateOutro(button);
|
||||
},
|
||||
navigation: {
|
||||
@@ -39,11 +38,11 @@ const { selected, pressed, selectorPosition } = useButtonNavigation({
|
||||
left: "contact",
|
||||
down: "settings",
|
||||
},
|
||||
theme: {
|
||||
credits: {
|
||||
right: "settings",
|
||||
},
|
||||
settings: {
|
||||
left: "theme",
|
||||
left: "credits",
|
||||
up: "last",
|
||||
right: "achievements",
|
||||
},
|
||||
@@ -161,9 +160,9 @@ onRender((ctx) => {
|
||||
|
||||
<Button
|
||||
:x="10"
|
||||
:y="175 + getButtonOffset('theme')"
|
||||
:opacity="getOpacity('theme')"
|
||||
:image="getButtonImage('theme')"
|
||||
:y="175 + getButtonOffset('credits')"
|
||||
:opacity="getOpacity('credits')"
|
||||
:image="getButtonImage('credits')"
|
||||
/>
|
||||
<Button
|
||||
:x="117"
|
||||
|
||||
Reference in New Issue
Block a user