mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-26 07:43:36 +01:00
Make the UI scale and move correctly when the UI bounds are modified.
This commit is contained in:
1 parent
ca9d0ea5cf
commit
984554fe7c
4 files changed
+20
-15
No files matched your search
@@ -784,7 +784,10 @@ void NativeMessageReceived(const char *message, const char *value) {
|
||||
|
||||
void NativeResized() {
|
||||
if (uiContext) {
|
||||
// Modifying the bounds here can be used to "inset" the whole image to gain borders for TV overscan etc.
|
||||
// The UI now supports any offset but not the EmuScreen yet.
|
||||
uiContext->SetBounds(Bounds(0, 0, dp_xres, dp_yres));
|
||||
// uiContext->SetBounds(Bounds(dp_xres/2, 0, dp_xres / 2, dp_yres / 2));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user