aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/android
diff options
context:
space:
mode:
authorCharles Lombardo <[email protected]>2024-02-19 13:44:42 -0500
committerGitHub <[email protected]>2024-02-19 19:44:42 +0100
commit3b1b98c645d62c724b831cc2f72a23565e3e33d5 (patch)
tree40e9dd3c64cc09812d111d584bd77d1c02020cc4 /src/android
parentdaf350f5d38e02bbe4cf3e7ae46019d3c9b88c68 (diff)
downloadyuzu-mainline-3b1b98c645d62c724b831cc2f72a23565e3e33d5.tar.gz
yuzu-mainline-3b1b98c645d62c724b831cc2f72a23565e3e33d5.zip
android: Fix overlay visibility reset (#13083)
Diffstat (limited to 'src/android')
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.kt
index 66907085a..ed112a38d 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.kt
@@ -664,7 +664,7 @@ class InputOverlay(context: Context, attrs: AttributeSet?) :
val overlayControlData = NativeConfig.getOverlayControlData()
overlayControlData.forEach {
- it.enabled = OverlayControl.from(it.id)?.defaultVisibility == false
+ it.enabled = OverlayControl.from(it.id)?.defaultVisibility == true
}
NativeConfig.setOverlayControlData(overlayControlData)