android: EmulationFragment: Always reset overlay.

- Ensures correct placement until we have better overlay configuration.
master
bunnei 2023-02-18 21:59:07 +07:00
parent b4a12b889e
commit e9f35d3260
1 changed files with 2 additions and 1 deletions

@ -106,7 +106,8 @@ public final class EmulationFragment extends Fragment implements SurfaceHolder.C
doneButton.setOnClickListener(v -> stopConfiguringControls()); doneButton.setOnClickListener(v -> stopConfiguringControls());
} }
// Show/hide the "Show FPS" overlay // Setup overlay.
resetInputOverlay();
updateShowFpsOverlay(); updateShowFpsOverlay();
// The new Surface created here will get passed to the native code via onSurfaceChanged. // The new Surface created here will get passed to the native code via onSurfaceChanged.