diff options
author | t895 <clombardo169@gmail.com> | 2024-01-02 04:46:00 +0100 |
---|---|---|
committer | t895 <clombardo169@gmail.com> | 2024-01-02 04:48:10 +0100 |
commit | 466cdeb8a0e997127c99f390a58985ffa0528644 (patch) | |
tree | 21dafa9556761e192f0000f71561a6137d1b37e3 | |
parent | Merge pull request #12544 from zhaobot/tx-update-20240101021433 (diff) | |
download | yuzu-466cdeb8a0e997127c99f390a58985ffa0528644.tar yuzu-466cdeb8a0e997127c99f390a58985ffa0528644.tar.gz yuzu-466cdeb8a0e997127c99f390a58985ffa0528644.tar.bz2 yuzu-466cdeb8a0e997127c99f390a58985ffa0528644.tar.lz yuzu-466cdeb8a0e997127c99f390a58985ffa0528644.tar.xz yuzu-466cdeb8a0e997127c99f390a58985ffa0528644.tar.zst yuzu-466cdeb8a0e997127c99f390a58985ffa0528644.zip |
-rw-r--r-- | src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.kt | 3 |
1 files changed, 1 insertions, 2 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 bb69b8bd5..c87486c90 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 @@ -30,7 +30,6 @@ import org.yuzu.yuzu_emu.NativeLibrary.StickType import org.yuzu.yuzu_emu.R import org.yuzu.yuzu_emu.features.settings.model.BooleanSetting import org.yuzu.yuzu_emu.features.settings.model.IntSetting -import org.yuzu.yuzu_emu.features.settings.model.Settings import org.yuzu.yuzu_emu.overlay.model.OverlayControl import org.yuzu.yuzu_emu.overlay.model.OverlayControlData import org.yuzu.yuzu_emu.overlay.model.OverlayLayout @@ -302,7 +301,7 @@ class InputOverlay(context: Context, attrs: AttributeSet?) : MotionEvent.ACTION_POINTER_UP -> if (dpadBeingConfigured === dpad) { // Persist button position by saving new place. saveControlPosition( - Settings.PREF_BUTTON_DPAD, + OverlayControl.COMBINED_DPAD.id, dpadBeingConfigured!!.bounds.centerX(), dpadBeingConfigured!!.bounds.centerY(), layout |