This commit is contained in:
lunaticbum 2024-11-18 18:04:29 +09:00
parent e8ed60f300
commit fc5f17018a

View File

@ -77,6 +77,7 @@ open class Base : AppCompatActivity() {
return true return true
} }
MotionEvent.ACTION_BUTTON_RELEASE ->{ MotionEvent.ACTION_BUTTON_RELEASE ->{
if (actionButtonPressY == ev.y) { if (actionButtonPressY == ev.y) {
if (actionButtonPressX.minus(ev.x ?: 0f) > 0f) { if (actionButtonPressX.minus(ev.x ?: 0f) > 0f) {
Blog.LOGE("Arrow Right Click") Blog.LOGE("Arrow Right Click")