From e9f35d32609019dc14ab12cae0a30a764ff29d4b Mon Sep 17 00:00:00 2001 From: bunnei Date: Sat, 18 Feb 2023 21:59:07 -0800 Subject: android: EmulationFragment: Always reset overlay. - Ensures correct placement until we have better overlay configuration. --- .../src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/android') 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 32f077944..cc190eb7f 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. -- cgit v1.2.3