mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
ImGUI: Allow passthrough of mouse events clicking on the "desktop"
This commit is contained in:
1 parent
5ef2f06019
commit
dbfa865a4a
1 file changed
+3
@@ -1080,6 +1080,9 @@ bool EmuScreen::key(const KeyInput &key) {
|
||||
void EmuScreen::touch(const TouchInput &touch) {
|
||||
if (g_Config.bShowImDebugger && imguiInited_) {
|
||||
ImGui_ImplPlatform_TouchEvent(touch);
|
||||
if (!ImGui::GetIO().WantCaptureMouse) {
|
||||
UIScreen::touch(touch);
|
||||
}
|
||||
} else {
|
||||
UIScreen::touch(touch);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user