1
0
Fork 0
forked from suyu/suyu

android: EmulationFragment: Always reset overlay.

- Ensures correct placement until we have better overlay configuration.
This commit is contained in:
bunnei 2023-02-18 21:59:07 -08:00
parent b4a12b889e
commit e9f35d3260

View file

@ -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.