소스 검색

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.