mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 00:03:37 +01:00
UI: Trigger view recreate on static sized screens.
If a screen doesn't size via layout, it needs to recreate views on resize, which is what the resized() method is for.
This commit is contained in:
1 parent
4657397b57
commit
c0f0bc88af
8 files changed
+17
-10
No files matched your search
@@ -1099,10 +1099,6 @@ void NativeResized() {
|
||||
// NativeResized can come from any thread so we just set a flag, then process it later.
|
||||
if (g_graphicsInited) {
|
||||
resized = true;
|
||||
if (uiContext) {
|
||||
// Still have to update bounds to avoid problems in display layout and touch controls layout screens
|
||||
uiContext->SetBounds(Bounds(0, 0, dp_xres, dp_yres));
|
||||
}
|
||||
} else {
|
||||
ILOG("NativeResized ignored, not initialized");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user