fix(settings): wrong submenus drawing order

This commit is contained in:
2026-01-18 23:53:59 +01:00
parent af3ca1d5e0
commit 04d13c50f3
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) {