mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 08:07:18 +02:00
Minor fix for touch control
This commit is contained in:
parent
b6b9ec49f6
commit
3068aa8a06
@ -3657,8 +3657,14 @@ class TouchController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Dispatch a message to display generic touch controller
|
// Dispatch a message to display generic touch controller
|
||||||
if (focused && msg.data.includes('touchcontrols/showtitledefault')) {
|
if (msg.data.includes('touchcontrols/showtitledefault')) {
|
||||||
TouchController.#enable && TouchController.getCustomLayouts(GAME_XBOX_TITLE_ID);
|
if (TouchController.#enable) {
|
||||||
|
if (focused) {
|
||||||
|
TouchController.getCustomLayouts(GAME_XBOX_TITLE_ID);
|
||||||
|
} else {
|
||||||
|
TouchController.#showDefault();
|
||||||
|
}
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user