mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-23 16:19:44 +00:00
Qt: Update touch controller layout on switch to fullscreen. Note: The touch controller configuration still will not update.
This commit is contained in:
parent
b1b4679fe6
commit
ff14b69e00
@ -17,6 +17,7 @@
|
||||
#include "base/display.h"
|
||||
#include "base/NKCodeFromQt.h"
|
||||
#include "GPU/GPUInterface.h"
|
||||
#include "UI/GamepadEmu.h"
|
||||
|
||||
#include "QtHost.h"
|
||||
#include "EmuThread.h"
|
||||
@ -551,6 +552,7 @@ void MainWindow::on_action_OptionsFullScreen_triggered()
|
||||
ui->menubar->setVisible(true);
|
||||
ui->statusbar->setVisible(true);
|
||||
SetZoom(g_Config.iInternalResolution);
|
||||
InitPadLayout();
|
||||
if (globalUIState == UISTATE_INGAME && QApplication::overrideCursor())
|
||||
QApplication::restoreOverrideCursor();
|
||||
|
||||
@ -583,6 +585,7 @@ void MainWindow::on_action_OptionsFullScreen_triggered()
|
||||
dp_yres = pixel_yres;
|
||||
if (gpu)
|
||||
gpu->Resized();
|
||||
InitPadLayout();
|
||||
if (globalUIState == UISTATE_INGAME && !g_Config.bShowTouchControls)
|
||||
QApplication::setOverrideCursor(QCursor(Qt::BlankCursor));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user