fix(settings): wrong submenus drawing order

This commit is contained in:
2026-01-18 23:53:59 +01:00
parent 571f9ff81b
commit 50e10498c9
2 changed files with 10 additions and 10 deletions

View File

@@ -33,11 +33,6 @@ onRender((ctx) => {
ctx.translate(props.x, props.y);
if (isOpen.value || animation.playing) {
assets.images.settings.topScreen.options.language.draw(
ctx,
0,
-48 + animation.stage1Offset,
);
assets.images.settings.topScreen.options.gbaMode.draw(
ctx,
48 - animation.stage2Offset,
@@ -48,6 +43,11 @@ onRender((ctx) => {
0,
-96 + animation.stage2Offset + animation.stage1Offset,
);
assets.images.settings.topScreen.options.language.draw(
ctx,
0,
-48 + animation.stage1Offset,
);
assets.images.settings.topScreen.options.optionsActive.draw(ctx, 0, 0);
} else if (isAnyOtherMenuOpen.value) {

View File

@@ -38,11 +38,6 @@ onRender((ctx) => {
-48 + animation.stage2Offset,
-48 + animation.stage1Offset,
);
assets.images.settings.topScreen.user.userName.draw(
ctx,
0,
-48 + animation.stage1Offset,
);
assets.images.settings.topScreen.user.message.draw(
ctx,
48 - animation.stage2Offset,
@@ -53,6 +48,11 @@ onRender((ctx) => {
0,
-96 + animation.stage2Offset + animation.stage1Offset,
);
assets.images.settings.topScreen.user.userName.draw(
ctx,
0,
-48 + animation.stage1Offset,
);
assets.images.settings.topScreen.user.userActive.draw(ctx, 0, 0);
} else if (isAnyOtherMenuOpen.value) {