From e9f35d32609019dc14ab12cae0a30a764ff29d4b Mon Sep 17 00:00:00 2001 From: bunnei Date: Sat, 18 Feb 2023 21:59:07 -0800 Subject: [PATCH] android: EmulationFragment: Always reset overlay. - Ensures correct placement until we have better overlay configuration. --- .../java/org/yuzu/yuzu_emu/fragments/EmulationFragment.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.java index 32f077944f..cc190eb7ff 100644 --- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.java +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.java @@ -106,7 +106,8 @@ public final class EmulationFragment extends Fragment implements SurfaceHolder.C doneButton.setOnClickListener(v -> stopConfiguringControls()); } - // Show/hide the "Show FPS" overlay + // Setup overlay. + resetInputOverlay(); updateShowFpsOverlay(); // The new Surface created here will get passed to the native code via onSurfaceChanged.