mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 15:47: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
|
||||
if (focused && msg.data.includes('touchcontrols/showtitledefault')) {
|
||||
TouchController.#enable && TouchController.getCustomLayouts(GAME_XBOX_TITLE_ID);
|
||||
if (msg.data.includes('touchcontrols/showtitledefault')) {
|
||||
if (TouchController.#enable) {
|
||||
if (focused) {
|
||||
TouchController.getCustomLayouts(GAME_XBOX_TITLE_ID);
|
||||
} else {
|
||||
TouchController.#showDefault();
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user