瀏覽代碼

android: EmulationFragment: Always reset overlay.

- Ensures correct placement until we have better overlay configuration.
bunnei 3 年之前
父節點
當前提交
e9f35d3260
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.java

+ 2 - 1
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.